File: creating_release.txt

package info (click to toggle)
python-django-extensions 0.4.2pre%2Bgit201004211325-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 768 kB
  • ctags: 739
  • sloc: python: 4,197; makefile: 76
file content (53 lines) | stat: -rw-r--r-- 1,160 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Creating a release
==================

:synopsis: Creating a django-extensions release


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

Get a fresh copy

 $ git clone git@github.com: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