We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f30113 commit eb61ccaCopy full SHA for eb61cca
setup.py
@@ -375,7 +375,10 @@ def run(self):
375
# Note: if not using `cythonize`, coverage can be enabled by
376
# pinning `ext.cython_directives = directives` to each ext in extensions.
377
# github.com/cython/cython/wiki/enhancements-compilerdirectives#in-setuppy
378
-directives = {"linetrace": False, "language_level": 3}
+directives = {"linetrace": False,
379
+ "language_level": 3,
380
+ "c_api_binop_methods": True, # https://github.com/cython/cython/issues/4172
381
+ }
382
macros = []
383
if linetrace:
384
# https://pypkg.com/pypi/pytest-cython/f/tests/example-project/setup.py
0 commit comments