From a355493e5dab4fe48937ebc7d4ddf019608cf3a2 Mon Sep 17 00:00:00 2001 From: liaogang Date: Mon, 9 Jan 2017 16:07:51 +0800 Subject: [PATCH] upgrade python protobuf version --- paddle/api/CMakeLists.txt | 4 ++-- paddle/setup.py.in | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/paddle/api/CMakeLists.txt b/paddle/api/CMakeLists.txt index 88d6b71695..1ca02023eb 100644 --- a/paddle/api/CMakeLists.txt +++ b/paddle/api/CMakeLists.txt @@ -67,11 +67,11 @@ SWIG_LINK_LIBRARIES(swig_paddle paddle_trainer_lib paddle_network paddle_proto - ARCHIVE_START + ${ARCHIVE_START} paddle_gserver paddle_function ${METRIC_LIBS} - ARCHIVE_END + ${ARCHIVE_END} ) add_custom_command(OUTPUT ${PROJ_ROOT}/paddle/dist/.timestamp diff --git a/paddle/setup.py.in b/paddle/setup.py.in index 8cfa485bde..486f1e730c 100644 --- a/paddle/setup.py.in +++ b/paddle/setup.py.in @@ -22,6 +22,8 @@ setup(name="py_paddle", package_data={'py_paddle':['*.py','_swig_paddle.so']}, install_requires = [ 'numpy>=1.8.0', # The numpy is required. - 'protobuf>=2.4.1' # The paddle protobuf version + 'protobuf>=3.0.0' # The paddle protobuf version ], + url='http://www.paddlepaddle.org/', + license='Apache 2.0', ) -- GitLab