diff options
author | Willem Jan Palenstijn <wjp@usecode.org> | 2015-02-27 15:15:20 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <wjp@usecode.org> | 2015-02-27 15:15:20 +0100 |
commit | 24a2b2b0a6a354efd58774a4bce930cb9f90334f (patch) | |
tree | 7e734127dc9bc290a9277f9765d2a08a0857e777 | |
parent | 03a9dd972ada50eedb83386910cecf02fe8d0e35 (diff) | |
parent | 5bf060d417bc6428f2b8adf0f0f7aa1b53ba7807 (diff) | |
download | astra-24a2b2b0a6a354efd58774a4bce930cb9f90334f.tar.gz astra-24a2b2b0a6a354efd58774a4bce930cb9f90334f.tar.bz2 astra-24a2b2b0a6a354efd58774a4bce930cb9f90334f.tar.xz astra-24a2b2b0a6a354efd58774a4bce930cb9f90334f.zip |
Merge pull request #23 from dmpelt/cython0.22-fix
Force Cython to use language level 2 to avoid error with Cython 0.22 and python3
-rw-r--r-- | python/builder.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/builder.py b/python/builder.py index bdfd092..ddca795 100644 --- a/python/builder.py +++ b/python/builder.py @@ -48,8 +48,7 @@ cfg.close() cmdclass = { } ext_modules = [ ] -language_level = 3 if int(sys.version[0]) > 2 else 2 -ext_modules = cythonize("astra/*.pyx", language_level=language_level) +ext_modules = cythonize("astra/*.pyx", language_level=2) cmdclass = { 'build_ext': build_ext } setup (name = 'PyASTRAToolbox', |