]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix cythonization for Python 3 483/head
authorPetr Špaček <petr.spacek@nic.cz>
Mon, 25 May 2020 13:15:10 +0000 (15:15 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Mon, 25 May 2020 13:15:10 +0000 (15:15 +0200)
setup.py

index 70c64e6c0b11820e1196fc6794f8e50d1751728c..8af643adfea834770c6cb80088a9c390751d964b 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,8 @@ except ValueError:
 else:
     compile_cython = True
     from Cython.Build import cythonize
-    ext_modules = cythonize(['dns/*.py', 'dns/rdtypes/*.py', 'dns/rdtypes/*/*.py'])
+    ext_modules = cythonize(['dns/*.py', 'dns/rdtypes/*.py', 'dns/rdtypes/*/*.py'],
+                            language_level='3')
 
 kwargs = {
     'name' : 'dnspython',