Commit 38a3ad54 authored by hc's avatar hc
Browse files

add the python_callbacks.so to whl

parent 5d0dbdb0
...@@ -15,6 +15,7 @@ os.mkdir("faiss") ...@@ -15,6 +15,7 @@ os.mkdir("faiss")
shutil.copytree("contrib", "faiss/contrib") shutil.copytree("contrib", "faiss/contrib")
shutil.copyfile("__init__.py", "faiss/__init__.py") shutil.copyfile("__init__.py", "faiss/__init__.py")
shutil.copyfile("loader.py", "faiss/loader.py") shutil.copyfile("loader.py", "faiss/loader.py")
shutil.copyfile("libfaiss_python_callbacks.so", "faiss/libfaiss_python_callbacks.so")
ext = ".pyd" if platform.system() == 'Windows' else ".so" ext = ".pyd" if platform.system() == 'Windows' else ".so"
prefix = "Release/" * (platform.system() == 'Windows') prefix = "Release/" * (platform.system() == 'Windows')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment