Skip to content

Commit

Permalink
moved Cython language level to be a global directive
Browse files Browse the repository at this point in the history
  • Loading branch information
giumas committed Jan 26, 2019
1 parent 690a0f8 commit 14c8b51
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ def find_version(*file_paths):
sources=["hyo2/soundspeed/profile/ray_tracing/tracedprofile.pyx"],
include_dirs=[np.get_include()],
language='c++',
language_level='3',
# extra_compile_args=["-Zi", "/Od"],
# extra_link_args=["-debug"],
),
], annotate=True),
],
annotate=True,
compiler_directives={'language_level': '3'}
),
python_requires='>=3.5',
entry_points={
"gui_scripts": [
Expand Down

0 comments on commit 14c8b51

Please sign in to comment.