File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
pytest==3.0.5
2
2
pytest-benchmark==3.0.0
3
3
coverage==4.3.1
4
- cython==0.24.1
4
+ cython==0.25.2
5
5
tox==2.5.0
Original file line number Diff line number Diff line change 25
25
# Remove C file to force Cython recompile.
26
26
os .remove (c_path )
27
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
28
from Cython .Build import cythonize
34
29
ext_modules = cythonize (Extension (
35
30
"bencoder" ,
36
31
[pyx_path ],
37
32
define_macros = [('CYTHON_TRACE' , '1' )]
38
- ))
33
+ ), compiler_directives = {
34
+ 'linetrace' : True ,
35
+ 'binding' : True
36
+ })
39
37
else :
40
38
from Cython .Build import cythonize
41
39
ext_modules = cythonize (Extension (
You can’t perform that action at this time.
0 commit comments