Skip to content

Commit

Permalink
Explicitly use -3 switch for Cython
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeKamentsky committed Jul 29, 2019
1 parent 16d6c91 commit c7ccaed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c7ccaed

Please sign in to comment.