From c7ccaed43ac7752c4ca361abb04fcb4e9ebdb069 Mon Sep 17 00:00:00 2001 From: Lee Kamentsky Date: Mon, 29 Jul 2019 09:45:10 -0400 Subject: [PATCH] Explicitly use -3 switch for Cython --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6435840..d4ba49a 100644 --- a/setup.py +++ b/setup.py @@ -54,7 +54,7 @@ def build_cython(): pyx for pyx, c in zip(pyx_filenames, c_filenames) if os.path.exists(pyx) and needs_compilation(c, pyx)] if len(nc_pyx_filenames) > 0: - cython_cmd = [sys.executable, '-m', 'cython'] + cython_cmd = [sys.executable, '-m', 'cython', "-3"] cmd = cython_cmd + nc_pyx_filenames env = dict(os.environ) env['PYTHONPATH'] = os.pathsep.join(sys.path)