File tree Expand file tree Collapse file tree 3 files changed +0
-14
lines changed Expand file tree Collapse file tree 3 files changed +0
-14
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 30
30
if CONDA_PREFIX :
31
31
EXTENSION_OPTS ["include_dirs" ] = [os .path .join (CONDA_PREFIX , "include" )]
32
32
33
- CYTHON_COVERAGE = os .environ .get ("CYTHON_COVERAGE" , False )
34
- if CYTHON_COVERAGE :
35
- EXTENSION_OPTS ["compiler_directives" ]["linetrace" ] = True
36
- EXTENSION_OPTS ["define_macros" ] = [("CYTHON_TRACE" , 1 )]
37
-
38
33
setup (
39
34
name = "isal" ,
40
35
version = "0.1.0-dev" ,
Original file line number Diff line number Diff line change 3
3
# python3 interpreter of the user.
4
4
envlist =py3
5
5
[testenv]
6
- setenv =
7
- CYTHON_COVERAGE =True
8
6
deps =coverage
9
7
pytest
10
- cython
11
- allowlist_externals =
12
- cp
13
8
commands =
14
9
# Create HTML coverage report for humans and xml coverage report for external services.
15
10
coverage run --source ={envsitepackagesdir}/isal -m py.test -v tests
16
11
coverage html
17
12
coverage xml
18
- cython --annotate-coverage coverage.xml {envsitepackagesdir}/isal/isal_zlib.pyx
19
- cp {envsitepackagesdir}/isal/isal_zlib.html htmlcov/
20
13
21
14
[testenv:lint]
22
15
deps =flake8
You can’t perform that action at this time.
0 commit comments