Skip to content

Commit da1bb68

Browse files
authored
Merge pull request #454 from grlee77/language_level_2
BLD: 1.0.x pin cython language level to '2'
2 parents 292d234 + 9dc4496 commit da1bb68

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
@@ -163,7 +163,7 @@ def get_cython_sources(use_cython):
163163
fd.write('%s = %d\n' % (k, int(v)))
164164

165165

166-
cythonize_opts = {}
166+
cythonize_opts = {'language_level': '2'}
167167
if os.environ.get("CYTHON_TRACE"):
168168
cythonize_opts['linetrace'] = True
169169
cython_macros.append(("CYTHON_TRACE_NOGIL", 1))

0 commit comments

Comments
 (0)