From 9435025b8e267c84431e3b606da8197d221062e3 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Mon, 27 Feb 2017 20:39:04 +0800 Subject: [PATCH] Add dependencies --- .travis.yml | 2 +- python/setup.py.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3993dc31fdb..31d76ecb876 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,7 +57,7 @@ before_install: - if [[ "$JOB" == "PRE_COMMIT" ]]; then sudo ln -s /usr/bin/clang-format-3.8 /usr/bin/clang-format; fi # Paddle is using protobuf 3.1 currently. Protobuf 3.2 breaks the compatibility. So we specify the python # protobuf version. - - pip install numpy wheel 'protobuf==3.1' sphinx recommonmark sphinx_rtd_theme virtualenv pre-commit requests==2.9.2 LinkChecker 'scikit-learn>=0.18.0' + - pip install numpy wheel 'protobuf==3.1' sphinx recommonmark sphinx_rtd_theme virtualenv pre-commit requests==2.9.2 LinkChecker 'scikit-learn>=0.18.0' 'scipy>=0.18.0' script: - paddle/scripts/travis/main.sh notifications: diff --git a/python/setup.py.in b/python/setup.py.in index fbee7bca90e..c7e46293b79 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -17,6 +17,7 @@ setup(name='paddle', '': '${CMAKE_CURRENT_SOURCE_DIR}' }, install_requires = [ - 'scikit-learn>=0.18.0' + 'scikit-learn>=0.18.0', + 'scipy>=0.18.0', ] ) -- GitLab