Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
6a22b625
提交
6a22b625
authored
2月 21, 2011
作者:
Pascal Lamblin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add a few things into the release instructions
上级
11f545a3
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
39 行增加
和
2 行删除
+39
-2
how_to_release.txt
doc/internal/how_to_release.txt
+39
-2
没有找到文件。
doc/internal/how_to_release.txt
浏览文件 @
6a22b625
...
...
@@ -4,10 +4,18 @@
How to make a release
==================================================
Get a fresh copy of the repository
==================================
Clone the code::
hg clone http://hg.assembla.com/theano Theano-0.X
It does not have to be in your PYTHONPATH.
Update the version number
=========================
Edit ``setup.py`` to contain the newest version number ::
cd Theano-0.X
...
...
@@ -18,18 +26,47 @@ Edit ``setup.py`` to contain the newest version number ::
* Change the ``version`` and ``release`` variables to new version number.
* Change the upper copyright year to the current year if necessary.
``NEWS.txt`` usually contains the name and date of the release, change them
too.
Tag the release
===============
You will need to commit the previous changes, tag the resulting version, and
push that into the original repository::
Tag the release. The syntax is something like the following::
hg commit -m"modifications for 0.X release" setup.py doc/conf.py
hg tag 0.X
hg push
The documentation will be automatically regenerated in the next few hours.
Generate and upload the package
===============================
Now change ``ISRELEASED`` in setup.py to ``True``.
Finally, use setuptools to register and upload the release::
python setup.py register sdist --formats=gztar,zip upload
Change ``ISRELEASED`` back to ``False``.
TODO:
* Does that line actually uploads the package on pypi.org?
* Who can do that?
* How to upload on mloss.org and freshmeat.net?
Change ``ISRELEASED`` back to ``False``.
Announce the release
====================
Generate an e-mail from the template in in ``EMAIL.txt``, including content
from ``NEWS.txt``, and send it to the following mailing lists:
Regenerate the documentation.
* theano-users
* theano-announce
* numpy-discussion@scipy.org
* scipy-user@scipy.org
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论