Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
71815637
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
71815637
编写于
11月 27, 2020
作者:
A
Aurelius84
提交者:
GitHub
11月 27, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Move gym into unittest/requirements.txt (#29149)
上级
bc902044
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
1 addition
and
8 deletion
+1
-8
paddle/scripts/paddle_build.bat
paddle/scripts/paddle_build.bat
+0
-1
paddle/scripts/paddle_build.sh
paddle/scripts/paddle_build.sh
+0
-7
python/unittest_py/requirements.txt
python/unittest_py/requirements.txt
+1
-0
未找到文件。
paddle/scripts/paddle_build.bat
浏览文件 @
71815637
...
@@ -115,7 +115,6 @@ where python
...
@@ -115,7 +115,6 @@ where python
where
pip
where
pip
pip
install
--upgrade
pip
--user
pip
install
--upgrade
pip
--user
pip
install
wheel
--user
pip
install
wheel
--user
pip
install
gym
--user
pip
install
-U -r
%work_dir%
\python\requirements.txt
--user
pip
install
-U -r
%work_dir%
\python\requirements.txt
--user
pip
install
-U -r
%work_dir%
\python\unittest_py\requirements.txt
--user
pip
install
-U -r
%work_dir%
\python\unittest_py\requirements.txt
--user
if
%ERRORLEVEL%
NEQ
0
(
if
%ERRORLEVEL%
NEQ
0
(
...
...
paddle/scripts/paddle_build.sh
浏览文件 @
71815637
...
@@ -67,9 +67,6 @@ function cmake_base() {
...
@@ -67,9 +67,6 @@ function cmake_base() {
# Delete previous built whl packages
# Delete previous built whl packages
rm
-rf
python/dist 2>/dev/null
||
true
rm
-rf
python/dist 2>/dev/null
||
true
# `gym` is only used in unittest, it's not suitable to add in requirements.txt.
# Add it dynamically.
echo
"gym"
>>
${
PADDLE_ROOT
}
/python/requirements.txt
# Support build for all python versions, currently
# Support build for all python versions, currently
# including cp27-cp27m and cp27-cp27mu.
# including cp27-cp27m and cp27-cp27mu.
PYTHON_FLAGS
=
""
PYTHON_FLAGS
=
""
...
@@ -137,8 +134,6 @@ function cmake_base() {
...
@@ -137,8 +134,6 @@ function cmake_base() {
exit
1
exit
1
fi
fi
fi
fi
# delete `gym` to avoid modifying requirements.txt in *.whl
sed
-i
.bak
"/^gym
$/
d"
${
PADDLE_ROOT
}
/python/requirements.txt
else
else
if
[
"
$1
"
!=
""
]
;
then
if
[
"
$1
"
!=
""
]
;
then
echo
"using python abi:
$1
"
echo
"using python abi:
$1
"
...
@@ -202,8 +197,6 @@ function cmake_base() {
...
@@ -202,8 +197,6 @@ function cmake_base() {
else
else
pip
install
-r
${
PADDLE_ROOT
}
/python/requirements.txt
pip
install
-r
${
PADDLE_ROOT
}
/python/requirements.txt
fi
fi
# delete `gym` to avoid modifying requirements.txt in *.whl
sed
-i
"/^gym
$/
d"
${
PADDLE_ROOT
}
/python/requirements.txt
fi
fi
if
[
"
$SYSTEM
"
==
"Darwin"
]
;
then
if
[
"
$SYSTEM
"
==
"Darwin"
]
;
then
...
...
python/unittest_py/requirements.txt
浏览文件 @
71815637
...
@@ -2,6 +2,7 @@ PyGithub
...
@@ -2,6 +2,7 @@ PyGithub
coverage
coverage
pycrypto ; platform_system != "Windows"
pycrypto ; platform_system != "Windows"
mock
mock
gym
opencv-python<=4.2.0.32
opencv-python<=4.2.0.32
visualdl ; python_version>="3.5"
visualdl ; python_version>="3.5"
paddle2onnx>=0.4
paddle2onnx>=0.4
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录