Fix python compilation on windows (#61)

* Polish compilation on Windows

* Fix python usage on Windows

* fix compile on windows

* Update setup.py
This commit is contained in:
Jason
2022-07-31 19:09:33 +08:00
committed by GitHub
parent 8e7b540d3f
commit f53a0733fe
2 changed files with 14 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ if os.name == "nt":
add_dll_search_dir(third_libs_dir)
for root, dirs, filenames in os.walk(third_libs_dir):
for d in dirs:
if d == "lib":
if d == "lib" or d == "bin":
add_dll_search_dir(os.path.join(dirname, root, d))
from .fastdeploy_main import Frontend, Backend, FDDataType, TensorInfo, Device