Mercurial > p > roundup > code
comparison RELEASE.txt @ 4808:08efc4993e82
Rename BUILD.txt -> RELEASE.txt
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Thu, 22 Aug 2013 15:44:03 +0300 |
| parents | BUILD.txt@641f0895d306 |
| children | 80febeb6d897 |
comparison
equal
deleted
inserted
replaced
| 4807:641f0895d306 | 4808:08efc4993e82 |
|---|---|
| 1 Building Releases | |
| 2 ================= | |
| 3 | |
| 4 Roundup is a pure Python application with no binary components. This file | |
| 5 describes how to build a source release. To find out how to install | |
| 6 Roundup, read the doc/installation.txt file. | |
| 7 | |
| 8 Roundup release checklist: | |
| 9 | |
| 10 1. Run unit tests! They should pass successfully. "./run_tests.py" | |
| 11 2. Change version in roundup/__init__.py, record date in CHANGES.txt. | |
| 12 3. Update doc/announcement.txt with new details. | |
| 13 4. Clean out all *.orig, *.rej, .#* files from the source. | |
| 14 5. python setup.py clean --all | |
| 15 6. Edit setup.py to ensure that all information therein (contacts, | |
| 16 classifiers, etc) is correct. | |
| 17 7. python setup.py build_doc | |
| 18 8. python setup.py sdist --manifest-only | |
| 19 9. Check the MANIFEST to make sure that any new files are included. If | |
| 20 they are not, edit MANIFEST.in to include them. "Documentation" for | |
| 21 MANIFEST.in may be found in disutils.filelist._parse_template_line. | |
| 22 10. python setup.py sdist | |
| 23 (if you find sdist a little verbose, add "--quiet" to the end of the | |
| 24 command) | |
| 25 11. Unpack the new dist file in /tmp then a) run_test.py and b) demo.py | |
| 26 with all available Python versions. | |
| 27 12. Assuming all is well tag the release in the version-control system. | |
| 28 13. python setup.py bdist_rpm | |
| 29 14. python setup.py bdist_wininst | |
| 30 15. Send doc/announcement.txt to python-announce@python.org and | |
| 31 roundup-users@lists.sourceforge.net and | |
| 32 roundup-devel@lists.sourceforge.net | |
| 33 | |
| 34 So, those commands in a nice, cut'n'pasteable form:: | |
| 35 | |
| 36 find . -name '*.orig' -exec rm {} \; | |
| 37 find . -name '*.rej' -exec rm {} \; | |
| 38 find . -name '.#*' -exec rm {} \; | |
| 39 python setup.py clean --all | |
| 40 python setup.py build_doc | |
| 41 python setup.py sdist --manifest-only | |
| 42 python setup.py sdist --quiet | |
| 43 python setup.py bdist_rpm | |
| 44 python setup.py bdist_wininst | |
| 45 python setup.py register | |
| 46 python setup.py sdist upload --sign | |
| 47 python2.5 setup.py bdist_wininst upload --sign | |
| 48 | |
| 49 (if the last two fail make sure you're using python2.5+) | |
| 50 Note that python2.6 won't correctly create a bdist_wininst install on | |
| 51 Linux (it will produce a .exe with "linux" in the name). 2.7 still has | |
| 52 this bug (Ralf) | |
| 53 |
