diff options
author | Matti Picus <matti.picus@gmail.com> | 2018-06-16 15:40:33 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2018-06-16 16:40:33 -0600 |
commit | 387c08972f2ccc441312006ac68dc4d553d8be8f (patch) | |
tree | 99df49b2b3313ffcc633c20306c4a9030e1dfbc9 /doc/HOWTO_RELEASE.rst.txt | |
parent | 2c96846c06a902fe4dbe60529828a9eb682d61ea (diff) | |
download | numpy-387c08972f2ccc441312006ac68dc4d553d8be8f.tar.gz |
WIP: DOC: slightly tweak the directions to create a release (#11312)
* DOC: slightly tweak the directions to create a release
* make release documents part of built documentation
* remove comment about version numbering
* MAINT: More tweaks to WALKTHROUGH.
Add check of Cython version.
* reword from comments
* DOC: Remove mention of the `.pypirc` file from HOWTO_RELEASE.txt.rst
[ci skip]
Diffstat (limited to 'doc/HOWTO_RELEASE.rst.txt')
-rw-r--r-- | doc/HOWTO_RELEASE.rst.txt | 38 |
1 files changed, 6 insertions, 32 deletions
diff --git a/doc/HOWTO_RELEASE.rst.txt b/doc/HOWTO_RELEASE.rst.txt index f849effa1..a6a8fe8ab 100644 --- a/doc/HOWTO_RELEASE.rst.txt +++ b/doc/HOWTO_RELEASE.rst.txt @@ -403,44 +403,18 @@ expecting a binary wheel. You can do this automatically using the ``wheel-uploader`` script from https://github.com/MacPython/terryfy. Here is the recommended incantation for -downloading all the Windows, Manylinux, OSX wheels and uploading to PyPI. +downloading all the Windows, Manylinux, OSX wheels and uploading to PyPI. :: -:: - - cd ~/wheelhouse # local directory to cache wheel downloads + NPY_WHLS=~/wheelhouse # local directory to cache wheel downloads CDN_URL=https://3f23b170c54c2533c070-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com - wheel-uploader -u $CDN_URL -w warehouse -v -s -t win numpy 1.11.1rc1 + wheel-uploader -u $CDN_URL -w $NPY_WHLS -v -s -t win numpy 1.11.1rc1 wheel-uploader -u $CDN_URL -w warehouse -v -s -t macosx numpy 1.11.1rc1 wheel-uploader -u $CDN_URL -w warehouse -v -s -t manylinux1 numpy 1.11.1rc1 The ``-v`` flag gives verbose feedback, ``-s`` causes the script to sign the -wheels with your GPG key before upload. ``-r warehouse`` causes the upload to -use the Warehouse PyPI server. This is a good idea because the Warehouse -server seems to be a lot more reliable in receiving automated wheel uploads. -For this flag to work, you will need a ``warehouse`` section in your -``~/.pypirc`` file, of form: - - [distutils] - index-servers = - pypi - warehouse - - [pypi] - username:your_user_name - password:your_password - - [warehouse] - repository: https://upload.pypi.io/legacy/ - username: your_user_name - password: your_password - - [server-login] - username:your_user_name - password:your_password - -Don't forget to upload the wheels before the source tarball, so there is no -period for which people switch from an expected binary install to a source -install from PyPI. +wheels with your GPG key before upload. Don't forget to upload the wheels +before the source tarball, so there is no period for which people switch from +an expected binary install to a source install from PyPI. There are two ways to update the source release on PyPI, the first one is:: |