<commit_before>Creating a release
==================

:synopsis: Creating a django-extensions release


How to make a new release
-------------------------

Get a fresh copy

 $ git clone <EMAIL>:django-extensions/django-extensions.git
 $ cd django-extensions

Change version numbers in django_extensions/__init__.py and docs/conf.py

 $ vi django_extension/__init__.py              (1 occurance)
 $ vi docs/conf.py                              (2 occurances)
 $ git commit -a -m v0.4.1

Tag it

 $ git tag 0.4.1

Prepare the release tarball

 $ python ./setup.py sdist

Upload release to pypi

 $ python ./setup.py register
 $ python ./setup.py sdist upload -s

Bumb version number to new in-development pre version

 $ vi django_extensions/__init__.py
 $ git ci -a -m 'bumped version number'

Push changes back to github

 $ git push --tags

<commit_msg>updated creating_release.txt with documentation instructions<commit_after>Creating a release
==================

:synopsis: Creating a django-extensions release


How to make a new release
-------------------------

Get a fresh copy

 $ git clone <EMAIL>:django-extensions/django-extensions.git
 $ cd django-extensions

Change version numbers in django_extensions/__init__.py and docs/conf.py

 $ vi django_extension/__init__.py              (1 occurance)
 $ vi docs/conf.py                              (2 occurances)
 $ git commit -a -m v0.4.1

Tag it

 $ git tag 0.4.1

Prepare the release tarball

 $ python ./setup.py sdist

Upload release to pypi

 $ python ./setup.py register
 $ python ./setup.py sdist upload -s

Upload new documentation to pypi

 $ cd docs
 $ make html
 $ cd _build/html
 $ zip -r9v ../django_extensions_docs.zip *

Now goto http://pypi.python.org, login and edit the django_extensions package.
At the bottom of the page your can upload documentation. Click browse, select
the zip file and hit "Upload Documentation".

Bumb version number to new in-development pre version

 $ vi django_extensions/__init__.py
 $ git ci -a -m 'bumped version number'

Push changes back to github

 $ git push --tags


{'fraction_non_alphanumeric': 0.11329812770043207, 'fraction_numerical': 0.00816130580892943, 'mean_word_length': 2.7617328519855597, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7626922', 'n_tokens_mistral': 617, 'n_tokens_neox': 575, 'n_words': 231}