Traceback (most recent call last):
File "setup.py", line 46, in <module>
ext_modules = cythonize(extensions, language_level = "3")
File "/usr/lib64/python3.6/site-packages/Cython/Build/Dependencies.py", line 888, in cythonize
ctx = c_options.create_context()
File "/usr/lib64/python3.6/site-packages/Cython/Compiler/Main.py", line 596, in create_context
self.cplus, self.language_level, options=self)
File "/usr/lib64/python3.6/site-packages/Cython/Compiler/Main.py", line 94, in __init__
self.set_language_level(language_level)
File "/usr/lib64/python3.6/site-packages/Cython/Compiler/Main.py", line 100, in set_language_level
if level >= 3:
The following patch is required for systems running python 3.6. (I would set up a pull request, but I am unable to do that at the moment.)
this prevents errors like the following: