summaryrefslogtreecommitdiff
path: root/src/python/setup.py.in
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2020-06-09 22:58:47 +0200
committerMarc Glisse <marc.glisse@inria.fr>2020-06-09 22:58:47 +0200
commitdd39431320e8c219b1eab9265c1a41aa53172ee5 (patch)
tree44334298e6df6681852d95d9e3d94268da4a467e /src/python/setup.py.in
parent8bbb9716d29f7fadb53e1241ab280bbeb446381b (diff)
parent58f7cd2d1fec9b12665ad10c16b9812eba303570 (diff)
Merge remote-tracking branch 'origin/master' into tomato2
Diffstat (limited to 'src/python/setup.py.in')
-rw-r--r--src/python/setup.py.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/python/setup.py.in b/src/python/setup.py.in
index 5e26079a..9b3c7521 100644
--- a/src/python/setup.py.in
+++ b/src/python/setup.py.in
@@ -48,8 +48,10 @@ ext_modules = cythonize(ext_modules)
for module in pybind11_modules:
my_include_dirs = include_dirs + [pybind11.get_include(False), pybind11.get_include(True)]
- if module == 'hera':
+ if module == 'hera/wasserstein':
my_include_dirs = ['@HERA_WASSERSTEIN_INCLUDE_DIR@'] + my_include_dirs
+ elif module == 'hera/bottleneck':
+ my_include_dirs = ['@HERA_BOTTLENECK_INCLUDE_DIR@'] + my_include_dirs
ext_modules.append(Extension(
'gudhi.' + module.replace('/', '.'),
sources = [source_dir + module + '.cc'],