Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
771eb470
提交
771eb470
authored
8月 27, 2020
作者:
Brandon T. Willard
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Use requirements.txt and pin black version
上级
7f1ab2ac
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
24 行增加
和
22 行删除
+24
-22
.gitignore
.gitignore
+1
-0
.travis.yml
.travis.yml
+6
-16
install_generic.inc
doc/install_generic.inc
+2
-2
requirements-rtd.txt
requirements-rtd.txt
+3
-0
requirements.txt
requirements.txt
+12
-0
setup.py
setup.py
+0
-4
没有找到文件。
.gitignore
浏览文件 @
771eb470
.coverage
*.linkinfo
*.o
*.orig
...
...
.travis.yml
浏览文件 @
771eb470
...
...
@@ -59,15 +59,16 @@ before_install:
install
:
-
conda create --yes -q -n pyenv python=$TRAVIS_PYTHON_VERSION
-
conda activate pyenv
-
conda install --yes -q mkl numpy scipy pip flake8 six pep8 pyflakes sphinx mkl-service graphviz cython
-
python -m pip install -q pydot-ng sphinx_rtd_theme pytest pytest-cov>=2.6.1 coveralls sympy
-
python -m pip install --no-deps --upgrade -e .
-
conda install --yes -q mkl numpy scipy pip mkl-service graphviz cython libgpuarray pygpu
-
pip install -q -r requirements.txt
-
conda list && pip freeze
-
python -c 'import theano; print(theano.config.__str__(print_doc=False))'
-
python -c 'import theano; assert(theano.config.blas.ldflags != "")'
jobs
:
include
:
-
stage
:
lint
script
:
-
pip install black
-
black -t py36 --check theano/ tests/ setup.py
-
flake8
-
&normaltest
...
...
@@ -92,19 +93,8 @@ script:
-
export MKL_THREADING_LAYER=GNU
-
export MKL_NUM_THREADS=1
-
export OMP_NUM_THREADS=1
-
which python
-
python --version
-
uname -a
-
free -m
-
df -h
-
ulimit -a
-
echo "$PART"
# Print information to help debug problems
-
python -c 'import numpy; print(numpy.__version__)'
-
python -c 'import theano; print(theano.__version__)'
-
python -c 'import theano; print(theano.config.__str__(print_doc=False))'
-
python -c 'import theano; assert(theano.config.blas.ldflags != "")'
-
pytest -x -r A --verbose --runslow --cov=theano/ --cov-append --no-cov-on-fail $PART || travis_terminate 1
-
pytest -x -r A --verbose --runslow --cov=theano/ --cov-append --no-cov-on-fail $PART
after_success
:
-
coveralls
...
...
doc/install_generic.inc
浏览文件 @
771eb470
...
...
@@ -44,9 +44,9 @@ Install the latest stable version of Theano with:
- Use :blue:`user` for a user installation without admin rights. It will install Theano in your local site-packages.
-
[test] will
install the requirements for testing.
-
Use `pip install -r requirements.txt` to
install the requirements for testing.
-
[doc] will install the requirements in order to generate
the documentation.
-
Use `pip install -r requirements-rtd.txt` install the requirements for generating
the documentation.
If you encountered any trouble, head to the :ref:`troubleshooting` page.
...
...
requirement-rtd.txt
→
requirement
s
-rtd.txt
浏览文件 @
771eb470
-e ./
sphinx>=1.3.0
sphinx_rtd_theme
pygments
pytest
numpy
gnumpy
pydot
pydot2
pydot-ng
Cython
scipy==0.13
requirements.txt
0 → 100644
浏览文件 @
771eb470
-e ./
flake8
pep8
pyflakes
black
==20.8b1
pytest-cov
>=2.6.1
coverage
>=5.1
pytest
coveralls
cython
sympy
versioneer
setup.py
浏览文件 @
771eb470
...
...
@@ -107,10 +107,6 @@ def do_setup():
packages
=
find_packages
(),
cmdclass
=
versioneer
.
get_cmdclass
(),
install_requires
=
[
"numpy>=1.9.1"
,
"scipy>=0.14"
,
"six>=1.9.0"
],
extras_require
=
{
"test"
:
[
"pytest"
,
"flake8"
,
"black"
],
"doc"
:
[
"Sphinx>=0.5.1"
,
"pygments"
],
},
package_data
=
{
""
:
[
"*.txt"
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论