We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef84370 commit c6571bcCopy full SHA for c6571bc
dev-requirements.txt
@@ -1,5 +1,5 @@
1
pytest==3.0.5
2
pytest-benchmark==3.0.0
3
coverage==4.3.1
4
-cython==0.24.1
+cython==0.25.2
5
tox==2.5.0
setup.py
@@ -25,17 +25,15 @@
25
# Remove C file to force Cython recompile.
26
os.remove(c_path)
27
if 'test' in sys.argv and platform.python_implementation() == 'CPython':
28
- from Cython.Compiler.Options import directive_defaults
29
-
30
- directive_defaults['linetrace'] = True
31
- directive_defaults['binding'] = True
32
33
from Cython.Build import cythonize
34
ext_modules = cythonize(Extension(
35
"bencoder",
36
[pyx_path],
37
define_macros=[('CYTHON_TRACE', '1')]
38
- ))
+ ), compiler_directives={
+ 'linetrace': True,
+ 'binding': True
+ })
39
else:
40
41
0 commit comments