Mercurial > p > roundup > code
diff BUILD.txt @ 4261:d82cd44bea96
update BUILD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 09 Oct 2009 00:29:33 +0000 |
| parents | d8c2d214d688 |
| children | e5e4434957c5 |
line wrap: on
line diff
--- a/BUILD.txt Thu Oct 08 13:59:33 2009 +0000 +++ b/BUILD.txt Fri Oct 09 00:29:33 2009 +0000 @@ -9,31 +9,26 @@ Building and distributing a release of Roundup is done by running: 1. Make sure the unit tests run! "./run_tests.py" -2. XXX "tag" SVN?? -3. Edit roundup/__init__.py and doc/announcement.txt to reflect the new +2. Edit roundup/__init__.py and doc/announcement.txt to reflect the new version and appropriate announcements. Add truncated announcement to setup.py description field. -4. Clean out all *.orig, *.rej, .#* files from the source. -5. python setup.py clean --all -6. Edit setup.py to ensure that all information therein (version, contact +3. Clean out all *.orig, *.rej, .#* files from the source. +4. python setup.py clean --all +5. Edit setup.py to ensure that all information therein (version, contact information etc) is correct. -7. python setup.py sdist --manifest-only -8. Check the MANIFEST to make sure that any new files are included. If +6. python setup.py sdist --manifest-only +7. Check the MANIFEST to make sure that any new files are included. If they are not, edit MANIFEST.in to include them. "Documentation" for MANIFEST.in may be found in disutils.filelist._parse_template_line. -9. python setup.py sdist +8. python setup.py sdist (if you find sdist a little verbose, add "--quiet" to the end of the command) -10. Unpack the new dist file in /tmp then a) run_test.py and b) demo.py +9. Unpack the new dist file in /tmp then a) run_test.py and b) demo.py with all available Python versions. -11. Generate gpg signature with "gpg -a --detach-sign" -12. python setup.py bdist_rpm -13. python setup.py bdist_wininst -14. Send doc/announcement.txt to python-announce@python.org -15. Notify any other news services as appropriate... - - http://freshmeat.net/projects/roundup/ - +10. Generate gpg signature with "gpg -a --detach-sign" +11. python setup.py bdist_rpm +12. python setup.py bdist_wininst +13. Send doc/announcement.txt to python-announce@python.org So, those commands in a nice, cut'n'pasteable form:: @@ -46,6 +41,7 @@ python setup.py bdist_rpm python setup.py bdist_wininst python setup.py register - python2.5 setup.py sdist upload --sign + python setup.py sdist upload --sign + python setup.py bdist_wininst upload --sign - +(if the last two fail make sure you're using python2.5+)
