Skip to content

Commit 725e63c

Browse files
committed
fixup! fixup! fixup! fixup! Build free-threaded CPython wheels
1 parent 5383cef commit 725e63c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

setup.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,10 @@ def get_package_data() -> list[str]:
4040
print("Did you forget to run 'git submodule update --init'?")
4141
sys.exit(1)
4242

43-
options = {
44-
"bdist_wheel": {
45-
"py-limited-api": "cp310",
46-
}
47-
}
48-
if "free-threading build" in sys.version:
49-
del options["bdist_wheel"]["py-limited-api"]
50-
5143
setup(
5244
py_modules=["libtcodpy"],
5345
packages=["tcod", "tcod.sdl", "tcod.__pyinstaller"],
5446
package_data={"tcod": get_package_data()},
5547
cffi_modules=["build_libtcod.py:ffi"],
5648
platforms=["Windows", "MacOS", "Linux"],
57-
options=options,
5849
)

0 commit comments

Comments
 (0)