Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
380281d8
提交
380281d8
authored
2月 02, 2012
作者:
Pascal Lamblin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update internal doc for release
上级
84ac684c
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
21 行增加
和
7 行删除
+21
-7
how_to_release.txt
doc/internal/how_to_release.txt
+21
-7
没有找到文件。
doc/internal/how_to_release.txt
浏览文件 @
380281d8
...
...
@@ -11,16 +11,18 @@ Update the NEWS.txt and move the old stuff in the HISTORY.txt file.
To update the NEWS.txt file, check all ticket closed for this release
and all commit log messages.
For the final release, copy the file Theano/NEWS.txt to Theano/doc/NEWS.txt
For the final release, copy the file ``Theano/NEWS.txt`` to
``Theano/doc/NEWS.txt``.
Update the "Vision"/"Vision State" in the file Theano/doc/introduction.txt.
Update the "Vision"/"Vision State" in the file
``Theano/doc/introduction.txt``.
Get a fresh copy of the repository
==================================
Clone the code::
git clone git
://github.com/Theano/Theano.git
git clone git
@github.com:Theano/Theano.git Theano-0.X
It does not have to be in your PYTHONPATH.
...
...
@@ -43,8 +45,8 @@ Update the year in the ``Theano/LICENSE.txt`` file too, if necessary.
too.
Update the code and the documentation for the theano flags
warn.ignore_bug_before
to accept the new version. You must modify the
file
theano/configdefaults.py and doc/library/config.txt
.
``warn.ignore_bug_before``
to accept the new version. You must modify the
file
``theano/configdefaults.py`` and ``doc/library/config.txt``
.
Tag the release
===============
...
...
@@ -55,17 +57,19 @@ following::
git commit -m "Modifications for 0.X.Y release" setup.py doc/conf.py NEWS.txt HISTORY.txt theano/configdefaults.py doc/library/config.txt
git tag -a rel-0.X.Y
git push
git push
--tags
The documentation will be automatically regenerated in the next few hours.
Generate and upload the package
===============================
For release candidates, only upload on PyPI.
On PyPI
-------
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::
...
...
@@ -75,6 +79,11 @@ This command register and 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
OpenID), and be listed among the "Package Index Owners" of Theano.
There is a bug in some versions of distutils that raises a
UnicodeDecodeError if there are non-ASCII characters in NEWS.txt. You
would need to change NEWS.txt so it contains only ASCII characters (the
problem usually comes from diacritics in people's names).
On freshmeat
------------
...
...
@@ -126,3 +135,8 @@ from ``NEWS.txt``, and send it to the following mailing lists:
* theano-announce
* numpy-discussion@scipy.org
* scipy-user@scipy.org
For release candidates, only e-mail:
* theano-announce
* theano-dev
* theano-users
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论