- changed status to resolved
Swig dependency minimum version check
Issue #99
resolved
According to README.rst: "SWIG, version 2.0.0 or later for Python 2 and version 3.0.3 or later for Python 3"
but in installation I get the following:
python setup.py install
File "setup.py", line 416, in <module>
run_install()
File "setup.py", line 342, in run_install
cmdclass, ext_modules = run_ufc_install()
File "setup.py", line 260, in run_ufc_install
SWIG_EXECUTABLE = get_swig_executable()
File "setup.py", line 79, in get_swig_executable
raise OSError("Unable to find SWIG version %s or higher." % swig_minimum_version)
OSError: Unable to find SWIG version 3.0.3 or higher.
In fact, in setup.py the minimum version of swig allowed seems to be 3.0.3:
def get_swig_executable():
"Get SWIG executable"
# Find SWIG executable
swig_executable = None
swig_minimum_version = "3.0.3"
...
This is the system configuration used:
ffc on branch master and next,
swig_version=2.0.10
Python 2.7.5
Linux centos7
Comments (2)
-
-
- removed milestone
Removing milestone: 1.7 (automated comment)
- Log in to comment
Fix Swig version in README. Fixes Issue
#99.→ <<cset 92cb75c9f993>>