提交 296c53f4 authored 作者: David Warde-Farley's avatar David Warde-Farley

More internal release instructions changes.

上级 95dc51ba
...@@ -14,12 +14,17 @@ Edit ``setup.py`` to contain the newest version number :: ...@@ -14,12 +14,17 @@ Edit ``setup.py`` to contain the newest version number ::
cd Theano-0.X cd Theano-0.X
vi setup.py # Edit the MAJOR, MINOR, MICRO and SUFFIX vi setup.py # Edit the MAJOR, MINOR, MICRO and SUFFIX
The homepage must link to the download URL, for PyPi to correctly get the The homepage must link to the download URL, for PyPI to correctly get the
code. code.
Edit ``doc/index.txt`` to contain a link to what will be the download URL:: Edit ``doc/index.txt`` to contain a link to what will be the download URL::
vi doc/index.txt # Edit the link to downloads/Theano-0.X.tar.gz vi doc/index.txt # Edit the link to downloads/Theano-0.X.tar.gz
``conf.py`` in the ``doc/`` directory should be updated in the following ways:
* Change the ``version`` and ``release`` variables to new version number.
* Change the upper copyright year to the current year if necessary.
Tag the release. The syntax is something like the following:: Tag the release. The syntax is something like the following::
hg commit -m"setup.py modifications for 0.X release" setup.py hg commit -m"setup.py modifications for 0.X release" setup.py
...@@ -30,10 +35,8 @@ Now change ``ISRELEASED`` in setup.py to ``True``. ...@@ -30,10 +35,8 @@ Now change ``ISRELEASED`` in setup.py to ``True``.
Finally, use setuptools to register and upload the release:: Finally, use setuptools to register and upload the release::
python setup.py register sdist bdist_egg upload python setup.py register sdist --formats=gztar,zip upload
Change ``ISRELEASED`` back to ``False``. Change ``ISRELEASED`` back to ``False``.
I wrote the above without actually running it. This needs to be Regenerate the documentation.
scrutinized when you are actually do a release.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论