Unverified 提交 076be887 authored 作者: Frédéric Bastien's avatar Frédéric Bastien 提交者: GitHub

Merge pull request #6679 from abergeron/pypi_doc

Update the documentation on how to upload the package to PyPI
...@@ -77,13 +77,15 @@ To set your umask:: ...@@ -77,13 +77,15 @@ To set your umask::
umask 0022 umask 0022
Now change ``ISRELEASED`` in ``setup.py`` to ``True``. Finally, use setuptools to build the release::
Finally, use setuptools to register and upload the release:: python setup.py sdist --formats=gztar
python setup.py register sdist --formats=gztar,zip upload Then use twine to upload the release
This command register and uploads the package on pypi.python.org. To be able twine upload dist/Theano-1.0.X.tax.gz
This command uploads the package on pypi.python.org. To be able
to do that, you must register on PyPI (you can create an new account, or use to do that, you must register on PyPI (you can create an new account, or use
OpenID), and be listed among the "Package Index Owners" of Theano. OpenID), and be listed among the "Package Index Owners" of Theano.
...@@ -116,11 +118,6 @@ You can "update this project" and save lots of times to get the revision text ...@@ -116,11 +118,6 @@ You can "update this project" and save lots of times to get the revision text
right. Just do not change the version number. right. Just do not change the version number.
Finally
-------
Change ``ISRELEASED`` back to ``False``.
Update documentation server scripts Update documentation server scripts
=================================== ===================================
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论