From 02fc127c1379677feabe699016e58a6de5f8c2a7 Mon Sep 17 00:00:00 2001 From: Ivan Mitrichev Date: Sun, 25 Oct 2015 01:13:01 +0300 Subject: [PATCH] Cython minimum version is 0.19 Also, setuptools is required to build/install the python module. Resolves #302. --- SConstruct | 2 +- doc/sphinx/compiling.rst | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/SConstruct b/SConstruct index 5118c7151..ca1a67839 100644 --- a/SConstruct +++ b/SConstruct @@ -941,7 +941,7 @@ if env['VERBOSE']: env['python_cmd_esc'] = quoted(env['python_cmd']) # Python 2 Package Settings -cython_min_version = LooseVersion('0.17') +cython_min_version = LooseVersion('0.19') env['install_python2_action'] = '' if env['python_package'] == 'new': env['python_package'] = 'full' # Allow 'new' as a synonym for 'full' diff --git a/doc/sphinx/compiling.rst b/doc/sphinx/compiling.rst index b75a09843..654813f65 100644 --- a/doc/sphinx/compiling.rst +++ b/doc/sphinx/compiling.rst @@ -37,12 +37,12 @@ Linux * Building the python module also requires:: - cython python-dev python-numpy python-numpy-dev + cython python-dev python-numpy python-numpy-dev python-setuptools * Checking out the source code from version control requires Git (install ``git``). -* The minimum compatible Cython version is 0.17. If your distribution does not +* The minimum compatible Cython version is 0.19. If your distribution does not contain a suitable version, you may be able to install a more recent version using `easy_install` or `pip`. @@ -438,9 +438,8 @@ Optional Programs * `Cython `_ - * Required to build the Python module - * Known to work with versions 0.19 and 0.20. Expected to work with - versions >= 0.17. + * Required version >=0.19 to build the Python module + * Known to work with versions 0.19 and 0.20. * Tested with Python 2.7, 3.3, and 3.4. Expected to work with versions 2.6 and 3.1+ as well.