Skip to content

Commit 18722ff

Browse files
committed
DOC: more cleanups to the make_release doc
[skip ci]
1 parent 07b61d3 commit 18722ff

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

doc/devel/guidelines/make_release.rst

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Release checklist
5656

5757
rst2html.py README.rst > ~/tmp/readme.html
5858

59-
because this will be the output used by pypi_
59+
because this will be the output used by PyPI_
6060

6161
* Check the dependencies listed in ``nipy/info.py`` (e.g.
6262
``NUMPY_MIN_VERSION``) and in ``doc/users/installation.rst``. They should
@@ -189,13 +189,13 @@ Doing the release
189189

190190
* For the wheel build / upload, follow the `wheel builder README`_
191191
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
193193
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.
196196

197197
* 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``,
199199
of form::
200200

201201
[distutils]
@@ -206,16 +206,13 @@ Doing the release
206206
username:your.pypi.username
207207
password:your-password
208208

209-
* Once everything looks good, upload the source release to PyPi. See
210-
`setuptools intro`_::
209+
* Upload the source release to PyPI using Twine_::
211210

212-
python setup.py register
213-
python setup.py sdist
214211
twine upload sdist/nipy*.tar.gz
215212

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::
217214

218-
git tag -am 'Second main release' 0.5.0
215+
git tag -s 'Second main release' 0.5.0
219216

220217
* Now the version number is OK, push the docs to github pages with::
221218

@@ -263,6 +260,7 @@ Doing the release
263260
* Announce to the mailing lists.
264261

265262
.. _setuptools intro: http://packages.python.org/an_example_pypi_project/setuptools.html
263+
.. _twine: https://pypi.python.org/pypi/twine
266264
.. _travis-ci: http://travis-ci.org
267265

268266
.. include:: ../../links_names.txt

0 commit comments

Comments
 (0)