summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/builder.py3
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',