@@ -11,6 +11,8 @@ Roundup release checklist:
11112. Update version
1212 CHANGES.txt
1313 roundup/__init__.py
14+ website/www/index.txt
15+ 2a. Update license end date in COPYING.txt
14163. Update documentation
1517 doc/announcement.txt
1618 doc/upgrading.txt
@@ -32,22 +34,24 @@ Roundup release checklist:
323410. python setup.py sdist
3335 (if you find sdist a little verbose, add "--quiet" to the end of the
3436 command)
35- 11. Unpack the new dist file in /tmp then
36- a) run_test.py
37+ 11. Unpack the new tarball created in dist/roundup-<version>.tar.gz
38+ file in /tmp then
39+ a) run_tests.py
3740 b) demo.py
3841 with all available Python versions.
394212. Assuming all is well tag the release in the version-control system.
40- 13. Build binary packages (requires python 2.6 or newer for
41- bdist_windist to have the --user-access flag.)
42- python setup.py bdist_rpm
43- python setup.py bdist_wininst --user-access-control force
44- 14. Upload source distributive to PyPI
45- python setup.py sdist upload --sign
46- It should appear on http://pypi.python.org/pypi/roundup in no time.
47- 15. Send doc/announcement.txt to
[email protected] and
43+ 13. Upload source distributive to PyPI - requires you sign up for a
44+ pypi account and be added as a maintainer to roundup. Ask existing
45+ maintainer for access.
46+ python setup.py sdist upload --repository pypi --sign
47+ It should appear on http://pypi.python.org/pypi/roundup in no
48+ time. If you are using python older than 2.7.13 you need a
49+ .pypi rc shown below. URL has changed. If using 2.7.13 or newer,
50+ you can remove the "--repository pypi" option.
51+ 14. Send doc/announcement.txt to
[email protected] and
4852495350- 16 . Refresh website.
54+ 15 . Refresh website.
5155 website/README.txt
5256 http://www.roundup-tracker.org/ should state that the stable
5357 version is the one that you released.
@@ -65,13 +69,30 @@ So, those commands in a nice, cut'n'pasteable form::
6569 python setup.py sdist --manifest-only
6670 python setup.py sdist --quiet
6771 python setup.py bdist_rpm
68- python2.5 setup.py bdist_wininst --user-access-control force
69- python setup.py register
70- python setup.py sdist upload --sign
71- python2.5 setup.py bdist_wininst upload --sign
72+ # not required for pypi.org since 2017 -> python setup.py register
73+ python setup.py sdist upload --repository pypi --sign
7274
73- (if the last two fail make sure you're using python2.5+)
74- Note that python2.6 won't correctly create a bdist_wininst install on
75- Linux (it will produce a .exe with "linux" in the name). 2.7 still has
76- this bug (Ralf)
75+ Note pypi no longer allows uploads of .exe installers such as produced
76+ by bdist_wininst. Removed directions for producing the binary
77+ distribution.
78+
79+ If you get errors on the upload operation, you may need the following
80+ ~/.pypirc file as well
81+
82+ ========
83+ [distutils]
84+ index-servers =
85+ test
86+ pypi
87+
88+ [pypi]
89+ repository: https://upload.pypi.org/legacy/
90+ username: <your username on pypi.org here>
91+ password: <your password here>
92+
93+ [test]
94+ repository: https://test.pypi.org/legacy/
95+ username: <your username on test.pypi.org here>
96+ password: <your password here>
97+ ========
7798
0 commit comments