From 28d6c7e220e2e4ed17b5953903b8312f5c66ad00 Mon Sep 17 00:00:00 2001 From: MRXLT Date: Wed, 14 Oct 2020 14:45:30 +0800 Subject: [PATCH] fix setup.py --- python/setup.py.client.in | 3 --- python/setup.py.server.in | 2 +- python/setup.py.server_gpu.in | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/python/setup.py.client.in b/python/setup.py.client.in index 8d213a21..527cbbde 100644 --- a/python/setup.py.client.in +++ b/python/setup.py.client.in @@ -47,9 +47,6 @@ REQUIRED_PACKAGES = [ 'grpcio-tools >= 1.28.1' ] -if not util.find_package("paddlepaddle") and not util.find_package("paddlepaddle-gpu"): - REQUIRED_PACKAGES.append("paddlepaddle") - packages=['paddle_serving_client', 'paddle_serving_client.proto', diff --git a/python/setup.py.server.in b/python/setup.py.server.in index 6733f1a4..0d3cbd34 100644 --- a/python/setup.py.server.in +++ b/python/setup.py.server.in @@ -29,7 +29,7 @@ util.gen_pipeline_code("paddle_serving_server") REQUIRED_PACKAGES = [ 'six >= 1.10.0', 'protobuf >= 3.11.0', 'grpcio >= 1.28.1', 'grpcio-tools >= 1.28.1', - 'paddle_serving_client', 'flask >= 1.1.1', 'paddle_serving_app' + 'paddle_serving_client', 'flask >= 1.1.1', 'paddle_serving_app', 'func_timeout' ] packages=['paddle_serving_server', diff --git a/python/setup.py.server_gpu.in b/python/setup.py.server_gpu.in index 523615b8..c633e674 100644 --- a/python/setup.py.server_gpu.in +++ b/python/setup.py.server_gpu.in @@ -29,7 +29,7 @@ util.gen_pipeline_code("paddle_serving_server_gpu") REQUIRED_PACKAGES = [ 'six >= 1.10.0', 'protobuf >= 3.11.0', 'grpcio >= 1.28.1', 'grpcio-tools >= 1.28.1', - 'paddle_serving_client', 'flask >= 1.1.1', 'paddle_serving_app' + 'paddle_serving_client', 'flask >= 1.1.1', 'paddle_serving_app', 'func_timeout' ] packages=['paddle_serving_server_gpu', -- GitLab