@@ -56,7 +56,7 @@ Release checklist
56
56
57
57
rst2html.py README.rst > ~/tmp/readme.html
58
58
59
- because this will be the output used by pypi _
59
+ because this will be the output used by PyPI _
60
60
61
61
* Check the dependencies listed in ``nipy/info.py `` (e.g.
62
62
``NUMPY_MIN_VERSION ``) and in ``doc/users/installation.rst ``. They should
@@ -189,13 +189,13 @@ Doing the release
189
189
190
190
* For the wheel build / upload, follow the `wheel builder README `_
191
191
instructions again. Edit the ``.travis.yml `` and ``appveyor.yml `` files (if
192
- present) to give the release tag to build. Check the build has passed on on
192
+ present) to give the release tag to build. Check the build has passed on
193
193
the Travis-CI interface at https://travis-ci.org/MacPython/nipy-wheels. Now
194
- follow the instructions in the page above to download the built wheels to
195
- a local machine and upload to PyPI.
194
+ follow the instructions in the page above to download the built wheels to a
195
+ local machine and upload to PyPI.
196
196
197
197
* Once everything looks good, you are ready to upload the source release to
198
- PyPi . See `setuptools intro `_. Make sure you have a file ``\$HOME/.pypirc ``,
198
+ PyPI . See `setuptools intro `_. Make sure you have a file ``\$HOME/.pypirc ``,
199
199
of form::
200
200
201
201
[distutils]
@@ -206,16 +206,13 @@ Doing the release
206
206
username:your.pypi.username
207
207
password:your-password
208
208
209
- * Once everything looks good, upload the source release to PyPi. See
210
- `setuptools intro `_::
209
+ * Upload the source release to PyPI using Twine _::
211
210
212
- python setup.py register
213
- python setup.py sdist
214
211
twine upload sdist/nipy*.tar.gz
215
212
216
- * Tag the release with tag of form ``0.5.0 ``::
213
+ * Tag the release with tag of form ``0.5.0 ``. ` -s ` below makes a signed tag ::
217
214
218
- git tag -am 'Second main release' 0.5.0
215
+ git tag -s 'Second main release' 0.5.0
219
216
220
217
* Now the version number is OK, push the docs to github pages with::
221
218
@@ -263,6 +260,7 @@ Doing the release
263
260
* Announce to the mailing lists.
264
261
265
262
.. _setuptools intro : http://packages.python.org/an_example_pypi_project/setuptools.html
263
+ .. _twine : https://pypi.python.org/pypi/twine
266
264
.. _travis-ci : http://travis-ci.org
267
265
268
266
.. include :: ../../links_names.txt
0 commit comments