diff options
Diffstat (limited to 'debian/patches/0001-Avoid-installing-benchmarks.patch')
-rw-r--r-- | debian/patches/0001-Avoid-installing-benchmarks.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/0001-Avoid-installing-benchmarks.patch b/debian/patches/0001-Avoid-installing-benchmarks.patch new file mode 100644 index 0000000..566d747 --- /dev/null +++ b/debian/patches/0001-Avoid-installing-benchmarks.patch @@ -0,0 +1,21 @@ +From: Gard Spreemann <gspr@nonempty.org> +Date: Fri, 31 Dec 2021 11:27:19 +0100 +Subject: Avoid installing benchmarks + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 17bf968..d46ae1c 100644 +--- a/setup.py ++++ b/setup.py +@@ -54,7 +54,7 @@ setup( + author=u'Remi Flamary, Nicolas Courty', + author_email='remi.flamary@gmail.com, ncourty@gmail.com', + url='https://github.com/PythonOT/POT', +- packages=find_packages(), ++ packages=find_packages(exclude=["benchmarks"]), + ext_modules=cythonize(Extension( + name="ot.lp.emd_wrap", + sources=["ot/lp/emd_wrap.pyx", "ot/lp/EMD_wrapper.cpp"], # cython/c++ src files |