From 66e72681152ea211aca4693dff1bb438979c540d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0pa=C4=8Dek?= Date: Mon, 25 May 2020 15:15:10 +0200 Subject: [PATCH] fix cythonization for Python 3 --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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', -- 2.47.3