@@ -9,26 +9,32 @@ to find out how to install this software.
99Building a release of Roundup is done by running:
1010
11111. Make sure the unit tests run! "./run_tests.py"
12- 2. Edit roundup/__init__.py and doc/announcement.txt to reflect the new
12+ 2. Tag the CVS for the release, eg. "cvs tag -R release-0-6-3"
13+ 3. Edit roundup/__init__.py and doc/announcement.txt to reflect the new
1314 version and appropriate announcements. Add truncated announcement to
1415 setup.py description field.
15- 3. python setup.py clean --all
16- 4. Edit setup.py to ensure that all information therein (version, contact
16+ 4. Clean out all *.orig, *.rej, .#* files from the source.
17+ 5. python setup.py clean --all
18+ 6. Edit setup.py to ensure that all information therein (version, contact
1719 information etc) is correct.
18- 5 . python setup.py sdist --manifest-only
19- 6 . Check the MANIFEST to make sure that any new files are included. If
20+ 7 . python setup.py sdist --manifest-only
21+ 8 . Check the MANIFEST to make sure that any new files are included. If
2022 they are not, edit MANIFEST.in to include them. "Documentation" for
2123 MANIFEST.in may be found in disutils.filelist._parse_template_line.
22- 7 . python setup.py sdist
24+ 9 . python setup.py sdist
2325 (if you find sdist a little verbose, add "--quiet" to the end of the
2426 command)
25- 8. unpack the new dist file in /tmp then a) run_test.py and b) demo.py
27+ 10. Unpack the new dist file in /tmp then a) run_test.py and b) demo.py
2628 with all available Python versions.
27- 9. python setup.py bdist_rpm
28- 10. python setup.py bdist_wininst
29+ 11. Generate gpg signature with "gpg -a --detach-sign"
30+ 12. python setup.py bdist_rpm
31+ 13. python setup.py bdist_wininst
2932
3033So, those commands in a nice, cut'n'pasteable form::
3134
35+ find . -name '*.orig' -exec rm {} \;
36+ find . -name '*.rej' -exec rm {} \;
37+ find . -name '.#*' -exec rm {} \;
3238 python setup.py clean --all
3339 python setup.py sdist --manifest-only
3440 python setup.py sdist --quiet
@@ -37,21 +43,23 @@ So, those commands in a nice, cut'n'pasteable form::
3743 python2.3 setup.py register
3844
3945
46+
4047Distributing Releases
4148=====================
4249
4350Once a release is built, follow these steps:
4451
45- 1. generate gpg signature with "gpg -a --detach-sign" and upload to
46- Sourceforge.
47- 2. tag the CVS for the release, eg. "cvs tag -R release-0-6-3"
48- 3. FTP the tar.gz from the dist directory to to the "incoming" directory on
52+ 1. FTP the tar.gz from the dist directory to to the "incoming" directory on
4953 "upload.sourceforge.net".
50- 4 . Make a quick release at:
54+ 2 . Make a quick release at:
5155 http://sourceforge.net/project/admin/qrs.php?package_id=&group_id=31577
52- 5. PyPI registration
53- 6. Send doc/announcement.txt to
[email protected] 54- 7. Notify any other news services as appropriate...
56+ 3. PyPI registration / upload::
57+
58+ python setup.py register
59+ python2.5 setup.py sdist upload --sign
60+
61+ 4. Send doc/announcement.txt to
[email protected] 62+ 5. Notify any other news services as appropriate...
5563
5664 http://freshmeat.net/projects/roundup/
5765
0 commit comments