File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,11 +3,15 @@ project(
33 ' c' , ' cython' ,
44 version : ' 1.10.0.dev0' ,
55 license : ' MIT' ,
6- meson_version : ' >= 1.1 .0' ,
6+ meson_version : ' >= 1.5 .0' ,
77 default_options : [
88 ' buildtype=debugoptimized' ,
99 ' b_ndebug=if-release' ,
1010 ' c_std=c17' ,
11+ # We default to false here (so produce wheels like cp314), and can opt into
12+ # producing abi3 wheels. The setting in pyproject.toml is
13+ # `limited-api=true`, but this default will ensure it is opt-in:
14+ ' python.allow_limited_api=false' ,
1115 ],
1216)
1317
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ documentation = "https://pywavelets.readthedocs.io/"
6060config-settings = {setup-args = [" --vsenv" ]}
6161before-build = " bash {project}/util/cibw_before_build_win.sh"
6262
63+ [tool .meson-python ]
64+ limited-api = true
6365
6466[tool .ruff ]
6567line-length = 88
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ foreach pyx_file: pyx_files
106106 py.extension_module(pyx_file[0 ],
107107 [cython_gen.process(pyx_file[1 ])],
108108 c_args : c_args,
109+ limited_api : ' 3.12' ,
109110 include_directories : ' c' ,
110111 dependencies : [np_dep, cy_deps],
111112 link_with : libc_wt,
You can’t perform that action at this time.
0 commit comments