We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3428762 commit 14ecf66Copy full SHA for 14ecf66
1 file changed
Lib/test/test_cext/setup.py
@@ -107,6 +107,8 @@ def main():
107
if internal:
108
cflags.append('-DTEST_INTERNAL_C_API=1')
109
110
+ py_limited_api = limited or abi3t
111
+
112
# Add additional include and library directories, typically for in-tree
113
# testing where not all directories are inferred
114
include_dirs = []
@@ -131,7 +133,9 @@ def main():
131
133
sources=sources,
132
134
extra_compile_args=cflags,
135
include_dirs=include_dirs,
- library_dirs=library_dirs)
136
+ library_dirs=library_dirs,
137
+ py_limited_api=py_limited_api
138
+ )
139
setup(name=f'internal_{module_name}',
140
version='0.0',
141
ext_modules=[ext])
0 commit comments