Skip to content

Commit 79c9682

Browse files
authored
remove redundant cython binding dirctive (#32)
* remove redundant cython binding dirctive * omit setup.py from coverage
1 parent b03b1b9 commit 79c9682

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ include =
88
stratify/*
99
omit =
1010
stratify/tests/*
11+
setup.py
1112
plugins = Cython.Coverage
1213

1314
[report]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def extract_version():
5252
requirements = ['setuptools>=40.8.0', numpy_req, 'Cython']
5353

5454
extension_kwargs = {}
55-
cython_directives = {'binding': True}
55+
cython_directives = {}
5656
cython_coverage_enabled = os.environ.get('CYTHON_COVERAGE', None)
5757
if cythonize and cython_coverage_enabled:
5858
extension_kwargs.update({'define_macros': [('CYTHON_TRACE_NOGIL', '1')]})

0 commit comments

Comments
 (0)