1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Do not install useless example files
This example is only used in dh_auto_test. And lintian will complain a
lot if the native plugin is installed.
Author: Shengqi Chen <harry@debian.org>
Forwarded: not-needed
Last-Update: 2025-02-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/faiss/python/setup.py
+++ b/faiss/python/setup.py
@@ -85,7 +85,7 @@
shutil.copyfile("swigfaiss_sve.py", "faiss/swigfaiss_sve.py")
shutil.copyfile(swigfaiss_sve_lib, f"faiss/_swigfaiss_sve{ext}")
-if found_faiss_example_external_module_lib:
+if False and found_faiss_example_external_module_lib:
print(f"Copying {faiss_example_external_module_lib}")
shutil.copyfile(
"faiss_example_external_module.py", "faiss/faiss_example_external_module.py"
|