提交 2e599a1a authored 作者: notoraptor's avatar notoraptor

Update internal documentation about "How to make a release".

上级 51ac3abd
...@@ -64,11 +64,20 @@ The documentation will be automatically regenerated in the next few hours. ...@@ -64,11 +64,20 @@ The documentation will be automatically regenerated in the next few hours.
Generate and upload the package Generate and upload the package
=============================== ===============================
For release candidates, only upload on PyPI. For non-final releases (e.g., release candidates, alpha, beta), upload on PyPI only.
On PyPI On PyPI
------- -------
Set your umask to ``0022`` to ensure that the package file will be readable from other people.
To check your umask::
umask
To set your umask::
umask 0022
Now change ``ISRELEASED`` in ``setup.py`` to ``True``. 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::
...@@ -138,8 +147,10 @@ then run the script. ...@@ -138,8 +147,10 @@ then run the script.
Announce the release Announce the release
==================== ====================
Generate an e-mail from the template in in ``EMAIL.txt``, including content Generate an e-mail from the template in ``EMAIL.txt``, including content
from ``NEWS.txt``, and send it to the following mailing lists: from ``NEWS.txt``.
For final releases, send the e-mail to the following mailing lists:
* theano-users * theano-users
* theano-announce * theano-announce
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论