summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-05-25 06:29:09 -0700
committerGitHub <noreply@github.com>2020-05-25 06:29:09 -0700
commit4bc60c4ad75de590f5744fea89bc2f875231c662 (patch)
tree90a3a521c408d6f7d4eb89724838fc86274089f1
parentacc56930b967b34bea86371112ce5699ec951de6 (diff)
parent66e72681152ea211aca4693dff1bb438979c540d (diff)
downloaddnspython-4bc60c4ad75de590f5744fea89bc2f875231c662.tar.gz
Merge pull request #483 from pspacek/cython3
fix cythonization for Python 3
-rwxr-xr-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 70c64e6..8af643a 100755
--- 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',