From 2f3b5054ad9a4fb0f62450c6dca912e0c1306471 Mon Sep 17 00:00:00 2001 From: peizhilin Date: Wed, 19 Dec 2018 10:31:40 +0800 Subject: [PATCH] fix build script --- python/setup.py.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/setup.py.in b/python/setup.py.in index bfbaa1d01..521d108b2 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -156,8 +156,8 @@ if '${WITH_FLUID_ONLY}'== 'OFF': # put all thirdparty libraries in paddle.libs libs_path='${PADDLE_BINARY_DIR}/python/paddle/libs' +package_data['paddle.libs']= [] if os.name != 'nt': - package_data['paddle.libs']= [] package_data['paddle.libs']=['libwarpctc' + ext_name] shutil.copy('${WARPCTC_LIBRARIES}', libs_path) @@ -169,7 +169,7 @@ else: if os.name == 'nt': # copy the openblas.dll shutil.copy(os.path.dirname('${CBLAS_LIBRARIES}') + '/openblas' + ext_name, libs_path) - package_data['paddle.fluid'] += ['openblas' + ext_name] + package_data['paddle.libs'] += ['openblas' + ext_name] if '${WITH_MKLDNN}' == 'ON': if '${CMAKE_BUILD_TYPE}' == 'Release': -- GitLab