From 2282b2d00f448f01bd3ac6c631491579075f575b Mon Sep 17 00:00:00 2001 From: Jurgen Lentz Date: Wed, 30 Oct 2024 16:18:35 +0100 Subject: [PATCH] disable some checks --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a634f0b..cfd1c59 100644 --- a/setup.py +++ b/setup.py @@ -212,7 +212,8 @@ def link_args(): extra_link_args=link_args(), sources=[os.path.join("amplpy", "ampl.pyx")], ) - ], compiler_directives={"language_level": "3", 'binding': True, "embedsignature": True} + ], compiler_directives={"language_level": "3", 'binding': True, "embedsignature": True, + "boundscheck": False, "wraparound": False}, ), package_data={"": package_content()}, install_requires=["ampltools >= 0.7.5"],