From 7c03e041f33d2a1a550b9e90e078bfd4165f3eb1 Mon Sep 17 00:00:00 2001 From: felixhjh <852142024@qq.com> Date: Mon, 29 Nov 2021 09:33:27 +0000 Subject: [PATCH] add env_check dir into setup.py.server.in --- python/setup.py.server.in | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/python/setup.py.server.in b/python/setup.py.server.in index dfe37610..33d78768 100644 --- a/python/setup.py.server.in +++ b/python/setup.py.server.in @@ -38,6 +38,9 @@ REQUIRED_PACKAGES = [ ] packages=['paddle_serving_server', + 'paddle_serving_server.env_check', + 'paddle_serving_server.env_check.fit_a_line', + 'paddle_serving_server.env_check.simple_web_service', 'paddle_serving_server.proto', 'paddle_serving_server.pipeline', 'paddle_serving_server.pipeline.proto', @@ -46,6 +49,12 @@ packages=['paddle_serving_server', package_dir={'paddle_serving_server': '${PADDLE_SERVING_BINARY_DIR}/python/paddle_serving_server', + 'paddle_serving_server.env_check': + '${PADDLE_SERVING_BINARY_DIR}/python/paddle_serving_server/env_check', + 'paddle_serving_server.env_check.fit_a_line': + '${PADDLE_SERVING_BINARY_DIR}/python/paddle_serving_server/env_check/fit_a_line', + 'paddle_serving_server.env_check.simple_web_service': + '${PADDLE_SERVING_BINARY_DIR}/python/paddle_serving_server/env_check/simple_web_service', 'paddle_serving_server.proto': '${PADDLE_SERVING_BINARY_DIR}/python/paddle_serving_server/proto', 'paddle_serving_server.pipeline': @@ -57,8 +66,8 @@ package_dir={'paddle_serving_server': 'paddle_serving_server.pipeline.gateway.proto': '${PADDLE_SERVING_BINARY_DIR}/python/paddle_serving_server/pipeline/gateway/proto'} -package_data={'paddle_serving_server': ['pipeline/gateway/libproxy_server.so'],} - +package_data={'paddle_serving_server': ['pipeline/gateway/libproxy_server.so', 'env_check/fit_a_line/*', 'env_check/simple_web_service/*', 'env_check/fit_a_line/uci_housing_model/*', 'env_check/fit_a_line/uci_housing_client/*', 'env_check/simple_web_service/uci_housing_model/*', 'env_check/simple_web_service/uci_housing_client/*'],} +include_package_data=True setup( name='${SERVER_PACKAGE_NAME}', version= package_version, -- GitLab