Bundle all files from contrib/ in python extension. (#1386)

Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1386

Reviewed By: mdouze

Differential Revision: D23416997

Pulled By: beauby

fbshipit-source-id: 9fc64d709046f65f49268cf2b9908dbd853d108d
This commit is contained in:
Lucas Hosseini
2020-08-31 01:11:59 -07:00
committed by Facebook GitHub Bot
parent c97f890651
commit bf7e5d1b2f
+2 -4
View File
@@ -98,7 +98,5 @@ configure_file(setup.py setup.py COPYONLY)
configure_file(__init__.py __init__.py COPYONLY)
configure_file(loader.py loader.py COPYONLY)
configure_file(${PROJECT_SOURCE_DIR}/../../contrib/client_server.py contrib/client_server.py COPYONLY)
configure_file(${PROJECT_SOURCE_DIR}/../../contrib/exhaustive_search.py contrib/exhaustive_search.py COPYONLY)
configure_file(${PROJECT_SOURCE_DIR}/../../contrib/ondisk.py contrib/ondisk.py COPYONLY)
configure_file(${PROJECT_SOURCE_DIR}/../../contrib/rpc.py contrib/rpc.py COPYONLY)
file(GLOB files "${PROJECT_SOURCE_DIR}/../../contrib/*.py")
file(COPY ${files} DESTINATION contrib/)