提交 6cde6fc1 编写于 作者: Y Yu Yang

Follow comments

上级 36d40b1b
...@@ -37,8 +37,13 @@ Configuring cmake in /paddle/build ... ...@@ -37,8 +37,13 @@ Configuring cmake in /paddle/build ...
-DWITH_STYLE_CHECK=${WITH_STYLE_CHECK:-OFF} -DWITH_STYLE_CHECK=${WITH_STYLE_CHECK:-OFF}
-DWITH_TESTING=${WITH_TESTING:-OFF} -DWITH_TESTING=${WITH_TESTING:-OFF}
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DUNITTEST_USE_VIRTUALENV=OFF
======================================== ========================================
EOF EOF
# Disable UNITTEST_USE_VIRTUALENV in docker because
# docker environment is fully controlled by this script.
# See /Paddle/CMakeLists.txt, UNITTEST_USE_VIRTUALENV option.
cmake .. \ cmake .. \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DWITH_DOC=OFF \ -DWITH_DOC=OFF \
......
...@@ -22,6 +22,8 @@ setup(name="py_paddle", ...@@ -22,6 +22,8 @@ setup(name="py_paddle",
package_data={'py_paddle':['*.py','_swig_paddle.so']}, package_data={'py_paddle':['*.py','_swig_paddle.so']},
install_requires = [ install_requires = [
'nltk>=3.2.2', 'nltk>=3.2.2',
# We use `numpy.flip` in `test_image.py`.
# `numpy.flip` is introduced in `1.12.0`
'numpy>=1.12.0', # The numpy is required. 'numpy>=1.12.0', # The numpy is required.
'protobuf==${PROTOBUF_VERSION}' # The paddle protobuf version 'protobuf==${PROTOBUF_VERSION}' # The paddle protobuf version
], ],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册