From: Petr Špaček Date: Mon, 25 May 2020 13:15:10 +0000 (+0200) Subject: fix cythonization for Python 3 X-Git-Tag: v2.0.0rc1~153^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66e72681152ea211aca4693dff1bb438979c540d;p=thirdparty%2Fdnspython.git fix cythonization for Python 3 --- diff --git a/setup.py b/setup.py index 70c64e6c..8af643ad 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',