diff --git a/python/setup.py.app.in b/python/setup.py.app.in index cbfe7c732188d7051791c1592e344f1f912cbf7c..e65d741e0d9f27da9d4910b705b9fc400e89e7ed 100644 --- a/python/setup.py.app.in +++ b/python/setup.py.app.in @@ -41,7 +41,8 @@ if '${PACK}' == 'ON': copy_lib() if os.path.exists('../core/preprocess/hwvideoframe/libgpupreprocess.so'): - os.system('mkdir ./paddle_serving_app/reader/lib') + print("新建目录") + os.system('mkdir -p ./paddle_serving_app/reader/lib') os.system('cp ../core/preprocess/hwvideoframe/libgpupreprocess.so ./paddle_serving_app/reader') os.system('cp ../core/preprocess/nvdec-extractframe/libhwextract.so ./paddle_serving_app/reader') os.system('cp ../core/preprocess/hwvideoframe/cuda/libgpu.so ./paddle_serving_app/reader/lib')