Skip to content

Commit b09659a

Browse files
committed
Remove broken cython coverage support
1 parent 7f759c6 commit b09659a

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

.coveragerc

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@
3030
if CONDA_PREFIX:
3131
EXTENSION_OPTS["include_dirs"] = [os.path.join(CONDA_PREFIX, "include")]
3232

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-
3833
setup(
3934
name="isal",
4035
version="0.1.0-dev",

tox.ini

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,13 @@
33
# python3 interpreter of the user.
44
envlist=py3
55
[testenv]
6-
setenv=
7-
CYTHON_COVERAGE=True
86
deps=coverage
97
pytest
10-
cython
11-
allowlist_externals=
12-
cp
138
commands =
149
# Create HTML coverage report for humans and xml coverage report for external services.
1510
coverage run --source={envsitepackagesdir}/isal -m py.test -v tests
1611
coverage html
1712
coverage xml
18-
cython --annotate-coverage coverage.xml {envsitepackagesdir}/isal/isal_zlib.pyx
19-
cp {envsitepackagesdir}/isal/isal_zlib.html htmlcov/
2013

2114
[testenv:lint]
2215
deps=flake8

0 commit comments

Comments
 (0)