From acafa09a8243cd7331bc7249aac9cda397b6185b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Thu, 6 Oct 2022 20:00:37 +0200 Subject: [PATCH] Tell setuptools that we are using the limited API --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 235213e..b684ae3 100755 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ if __name__ == "__main__": ], packages=["frida", "_frida"], package_data={"frida": ["py.typed"], "_frida": ["py.typed", "__init__.pyi"]}, - ext_modules=[Extension("_frida", [])], + ext_modules=[Extension("_frida", [], py_limited_api=True)], cmdclass={"build_ext": FridaPrebuiltExt}, zip_safe=False, )