We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f30113 commit 88d6839Copy full SHA for 88d6839
setup.py
@@ -375,7 +375,12 @@ 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
+ # Use cython 0.29.x binop methods.
381
+ # See https://github.com/cython/cython/issues/4172
382
+ "c_api_binop_methods": True,
383
+ }
384
macros = []
385
if linetrace:
386
# https://pypkg.com/pypi/pytest-cython/f/tests/example-project/setup.py
0 commit comments