From 7c69e36131b47b1dee24b4e58ec9c2e2452060ab Mon Sep 17 00:00:00 2001 From: iducn <45056973+iducn@users.noreply.github.com> Date: Tue, 29 Sep 2020 19:51:33 +0800 Subject: [PATCH] add pip new requirements to windows (#27697) * add pip new requirements to windows * Increase the conditions that restrict system installation --- paddle/scripts/paddle_build.bat | 1 + python/unittest_py/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index 7ad2787d18..2f7afcf17d 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -86,6 +86,7 @@ pip install --upgrade pip --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\unittest_py\requirements.txt --user if %ERRORLEVEL% NEQ 0 ( call paddle_winci\Scripts\deactivate.bat 2>NUL echo pip install requirements.txt failed! diff --git a/python/unittest_py/requirements.txt b/python/unittest_py/requirements.txt index 3b6a754661..56c8be862f 100644 --- a/python/unittest_py/requirements.txt +++ b/python/unittest_py/requirements.txt @@ -1,4 +1,4 @@ PyGithub coverage -pycrypto +pycrypto ; platform_system != "Windows" mock -- GitLab