File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def walk_sources(directory: str) -> Iterator[str]:
162162
163163libraries : list [str ] = [* build_sdl .libraries ]
164164library_dirs : list [str ] = [* build_sdl .library_dirs ]
165- define_macros : list [tuple [str , Any ]] = [("Py_LIMITED_API" , Py_LIMITED_API )]
165+ define_macros : list [tuple [str , Any ]] = [] # [ ("Py_LIMITED_API", Py_LIMITED_API)]
166166
167167sources += walk_sources ("tcod/" )
168168sources += walk_sources ("libtcod/src/libtcod/" )
@@ -240,7 +240,7 @@ def walk_sources(directory: str) -> Iterator[str]:
240240 extra_compile_args = extra_compile_args ,
241241 extra_link_args = extra_link_args ,
242242 define_macros = define_macros ,
243- py_limited_api = True ,
243+ # py_limited_api=True,
244244)
245245
246246CONSTANT_MODULE_HEADER = '''"""Constants from the libtcod C API.
Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ Source = "https://github.com/libtcod/python-tcod"
7474Tracker = " https://github.com/libtcod/python-tcod/issues"
7575Forum = " https://github.com/libtcod/python-tcod/discussions"
7676
77- [tool .distutils .bdist_wheel ]
78- py-limited-api = " cp310"
77+ # [tool.distutils.bdist_wheel]
78+ # py-limited-api = "cp310"
7979
8080[tool .setuptools_scm ]
8181write_to = " tcod/version.py"
You can’t perform that action at this time.
0 commit comments