summaryrefslogtreecommitdiff
path: root/src/python/gudhi/__init__.py.in
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-12-11 09:38:12 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-12-11 09:38:12 +0100
commit957da77f9484972ce34d0415502887f92080878e (patch)
treec830b74398c05762b52b5a12eb1450313874b8df /src/python/gudhi/__init__.py.in
parentfda0084941ece5d41a258d19ca4eb0b3d87384a4 (diff)
code review: GUDHI_USE_EIGEN3 generated by CMake in __init__.py as suggested and roll back the other solution
Diffstat (limited to 'src/python/gudhi/__init__.py.in')
-rw-r--r--src/python/gudhi/__init__.py.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/gudhi/__init__.py.in b/src/python/gudhi/__init__.py.in
index 79e12fbc..3043201a 100644
--- a/src/python/gudhi/__init__.py.in
+++ b/src/python/gudhi/__init__.py.in
@@ -23,6 +23,10 @@ __all__ = [@GUDHI_PYTHON_MODULES@ @GUDHI_PYTHON_MODULES_EXTRA@]
__available_modules = ''
__missing_modules = ''
+# For unitary tests purpose
+# could use "if 'collapse_edges' in gudhi.__all__" when collapse edges will have a python module
+__GUDHI_USE_EIGEN3 = @GUDHI_USE_EIGEN3@
+
# Try to import * from gudhi.__module_name for default modules.
# Extra modules require an explicit import by the user (mostly because of
# unusual dependencies, but also to avoid cluttering namespace gudhi and