Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
3e2cd871
提交
3e2cd871
authored
3月 31, 2009
作者:
Pascal Lamblin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
theano -> Theano
上级
710c0169
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
16 行增加
和
18 行删除
+16
-18
dev_start_guide.txt
doc/internal/dev_start_guide.txt
+12
-14
hg_primer.txt
doc/internal/hg_primer.txt
+3
-3
how_to_release.txt
doc/internal/how_to_release.txt
+1
-1
没有找到文件。
doc/internal/dev_start_guide.txt
浏览文件 @
3e2cd871
...
@@ -35,31 +35,29 @@ Theano code
...
@@ -35,31 +35,29 @@ Theano code
<http://www.selenic.com/mercurial/wiki/>`__ installed.
<http://www.selenic.com/mercurial/wiki/>`__ installed.
The code that makes up Theano is in a single repository available in
The code that makes up Theano is in a single repository available in
`<http://pylearn.org/hg/
t
heano>`__.
`<http://pylearn.org/hg/
T
heano>`__.
As a developer, you should clone this repository like this:
As a developer, you should clone this repository like this:
.. code-block:: bash
.. code-block:: bash
hg clone 'http://username:password@pylearn.org/hg/
theano' theano
hg clone 'http://username:password@pylearn.org/hg/
Theano'
You can also clone the code anonymously:
You can also clone the code anonymously:
.. code-block:: bash
.. code-block:: bash
hg clone http://pylearn.org/hg/
theano
Theano
hg clone http://pylearn.org/hg/Theano
Setting up your environment
Setting up your environment
===========================
===========================
Some notes on the environment variable $PYTHONPATH.
Some notes on the environment variable $PYTHONPATH.
If theano lives in $DEV/theano, you should have $DEV in your
The subdirectory Theano/theano has to be located in a location
$PYTHONPATH. You should '''not''' have $DEV/theano in your $PYTHONPATH.
mentionned in your PYTHONPATH. In order to do that, you can either
create a symbolic link to Theano/theano in a directory already
The subdirectory Theano/theano has to be in your PYTHONPATH. In order to do
mentionned in your PYTHONPATH environment variable, or modify the
that, you can either create a symbolic link to Theano/theano in a directory
already mentionned in your PYTHONPATH environment variable, or modify the
PYTHONPATH so that it mentions Theano.
PYTHONPATH so that it mentions Theano.
To create a symbolic link:
To create a symbolic link:
...
@@ -92,7 +90,7 @@ I advise to never import theano's files from outside theano itself
...
@@ -92,7 +90,7 @@ I advise to never import theano's files from outside theano itself
(and I think that is good advice for Python packages in general). Use
(and I think that is good advice for Python packages in general). Use
"from theano import tensor" instead of "import tensor". ... $PYTHONPATH
"from theano import tensor" instead of "import tensor". ... $PYTHONPATH
... should only contain paths to complete packages, so you don't get
... should only contain paths to complete packages, so you don't get
surprise
s
if I add files that enter in conflict with other packages.
surprise
d
if I add files that enter in conflict with other packages.
When you install a package, only the package name can be imported
When you install a package, only the package name can be imported
directly. If you want a sub-package, you must import it from the main
directly. If you want a sub-package, you must import it from the main
...
@@ -113,18 +111,18 @@ Once you have completed these steps, you should run the tests like this:
...
@@ -113,18 +111,18 @@ Once you have completed these steps, you should run the tests like this:
nosetests #execute all the tests
nosetests #execute all the tests
All tests should pass. If some test fails on your machine, you are
All tests should pass. If some test fails on your machine, you are
encouraged to tell us what went wrong on the ``theano-users@googlegroups.com``
mailing
encouraged to tell us what went wrong on the ``theano-users@googlegroups.com``
list.
mailing
list.
To update your library to the latest revision, change directory (``cd``)
To update your library to the latest revision, change directory (``cd``)
to your `
Theano
` folder and execute the following command:
to your `
`Theano`
` folder and execute the following command:
.. code-block:: bash
.. code-block:: bash
hg pull -u
hg pull -u
You may also download the latest source directly as a gzip'd tar file:
You may also download the latest source directly as a gzip'd tar file:
`<http://pylearn.org/hg/
t
heano/archive/tip.tar.gz>`__.
`<http://pylearn.org/hg/
T
heano/archive/tip.tar.gz>`__.
Nightly test
Nightly test
============
============
...
...
doc/internal/hg_primer.txt
浏览文件 @
3e2cd871
...
@@ -9,7 +9,7 @@ hg is the unix command that runs `Mercurial` the revision control system.
...
@@ -9,7 +9,7 @@ hg is the unix command that runs `Mercurial` the revision control system.
As a user of Theano, the commands you need to know are:
As a user of Theano, the commands you need to know are:
``hg clone 'ssh://projects@pylearn.org/hg/
theano' Theano
``
``hg clone 'ssh://projects@pylearn.org/hg/
Theano'
``
Download the freshest version of the code from the remote respository.
Download the freshest version of the code from the remote respository.
``hg pull -u``
``hg pull -u``
...
@@ -32,13 +32,13 @@ Typically, your sequence of hg commands should look like this:
...
@@ -32,13 +32,13 @@ Typically, your sequence of hg commands should look like this:
#. ``hg st``
#. ``hg st``
(Print out differences between local files and local db)
(Print out differences between local files and local db)
#. ``hg commit -m 'message about what you did' <files to which message applies>``
#. ``hg commit -m 'message about what you did' <files to which message applies>``
(Update the local db to match the files listed.)
(Update the local db to match the files listed.)
#. ``hg pull -u``
#. ``hg pull -u``
(Download the remote db to the local db, and ``-u`` updates files too.)
(Download the remote db to the local db, and ``-u`` updates files too.)
#. ``[hg merge]``
#. ``[hg merge]``
(Downloading the remote db may have created a fork in the
(Downloading the remote db may have created a fork in the
local db. This command will try to merge any such fork, and it might bring up
local db. This command will try to merge any such fork, and it might bring up
an editor to merge some stuff manually. This step affects the local files, but
an editor to merge some stuff manually. This step affects the local files, but
...
...
doc/internal/how_to_release.txt
浏览文件 @
3e2cd871
...
@@ -7,7 +7,7 @@ How to make a release
...
@@ -7,7 +7,7 @@ How to make a release
Clone the code::
Clone the code::
ssh projects@pylearn.org
ssh projects@pylearn.org
hg clone hg/
t
heano Theano-0.X
hg clone hg/
T
heano Theano-0.X
Edit ``setup.py`` to contain the newest version number::
Edit ``setup.py`` to contain the newest version number::
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论