From d0aa6ea5b543c4692f6e42d12252b03d5e43a255 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Wed, 30 May 2018 20:53:45 +0000 Subject: Add install requires matplotlib and numpy in setup.py Add Python test fail explanation git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/python_2.1.0_fix_vincent@3494 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 1bac18228a22ea718bb8c77d38efdf84f9b228eb --- src/cython/doc/installation.rst | 3 +++ src/cython/setup.py.in | 7 +++++++ 2 files changed, 10 insertions(+) (limited to 'src/cython') diff --git a/src/cython/doc/installation.rst b/src/cython/doc/installation.rst index c182f176..28d9dba2 100644 --- a/src/cython/doc/installation.rst +++ b/src/cython/doc/installation.rst @@ -43,6 +43,9 @@ following command in a terminal: export PYTHONPATH='$PYTHONPATH:/path-to-gudhi/build/cython' ctest -R py_test +If tests fail, please try to :code:`import gudhi` and check the errors. +The problem can come from a third-party library bad link or installation. + Documentation ============= diff --git a/src/cython/setup.py.in b/src/cython/setup.py.in index c767e93d..eda1ee04 100644 --- a/src/cython/setup.py.in +++ b/src/cython/setup.py.in @@ -46,4 +46,11 @@ setup( version='@GUDHI_VERSION@', url='http://gudhi.gforge.inria.fr/', ext_modules = cythonize(gudhi), + + #install_requires = required, + install_requires = [ + "matplotlib", + "numpy", + "cython", + ], ) -- cgit v1.2.3