diff --git a/python/setup.py.app.in b/python/setup.py.app.in index 9a17f0372fd3f3c626372bf3bdb1cc2f6a922772..6d951f782190f6575f337f6b2ce8fe28a6ccf4b6 100644 --- a/python/setup.py.app.in +++ b/python/setup.py.app.in @@ -40,7 +40,7 @@ max_version, mid_version, min_version = python_version() if '${PACK}' == 'ON': copy_lib() -if os.path.exists(../core/preprocess/hwvideoframe/libgpupreprocess.so): +if os.path.exists('../core/preprocess/hwvideoframe/libgpupreprocess.so'): os.system('mkdir ./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')