diff options
author | shimizukawa <shimizukawa@gmail.com> | 2018-05-09 05:31:41 +0300 |
---|---|---|
committer | shimizukawa <shimizukawa@gmail.com> | 2018-05-09 05:31:41 +0300 |
commit | ab101744f2b061e4f4700b1b93acf5d54907148a (patch) | |
tree | 8a006daa25ee79ca81475071db6e2c67c68f16f1 /utils | |
parent | 2d42753acd16a2a733d951b46605238d44d3c692 (diff) |
Use twine instead of 'setup.py upload'. There are security reason ( https://packaging.python.org/tutorials/distributing-packages/#uploading-your-project-to-pypi ) and metadata reason (refs #4936 ).
Diffstat (limited to 'utils')
-rw-r--r-- | utils/release-checklist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/release-checklist b/utils/release-checklist index 7d9263dec..aa4dcd2d3 100644 --- a/utils/release-checklist +++ b/utils/release-checklist @@ -11,7 +11,8 @@ for stable releases * Edit CHANGES if empty section exists * ``git commit -am 'Bump to X.Y.Z final'`` * ``make clean`` -* ``python setup.py release bdist_wheel sdist upload --identity=[your key]`` +* ``python setup.py release bdist_wheel sdist`` +* ``twine upload dist/<Sphinx-X.Y.Z files> --sign --identity [your GPG key]`` * open https://pypi.python.org/pypi/Sphinx and check there are no obvious errors * ``git tag vX.Y.Z`` * ``python utils/bump_version.py --in-develop X.Y.Zb0`` (ex. 1.5.3b0) |