Skip to content

Commit c7ccaed

Browse files
committed
Explicitly use -3 switch for Cython
1 parent 16d6c91 commit c7ccaed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def build_cython():
5454
pyx for pyx, c in zip(pyx_filenames, c_filenames)
5555
if os.path.exists(pyx) and needs_compilation(c, pyx)]
5656
if len(nc_pyx_filenames) > 0:
57-
cython_cmd = [sys.executable, '-m', 'cython']
57+
cython_cmd = [sys.executable, '-m', 'cython', "-3"]
5858
cmd = cython_cmd + nc_pyx_filenames
5959
env = dict(os.environ)
6060
env['PYTHONPATH'] = os.pathsep.join(sys.path)

0 commit comments

Comments
 (0)