Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-134455: Fix build-details.json to use the c_api.headers key (G…
…H-134456)

Fix `build-details.json` generation to use the correct `c_api.headers`
key as defined in PEP 739, instead of `c_api.include`.
(cherry picked from commit d706eb9)

Co-authored-by: Michał Górny <mgorny@gentoo.org>
Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
  • Loading branch information
2 people authored and miss-islington committed May 22, 2025
commit f553719273e49b318607bcfae0518aac343eb5e4
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fixed ``build-details.json`` generation to use the correct ``c_api.headers``
as defined in :pep:`739`, instead of ``c_api.include``.
2 changes: 1 addition & 1 deletion Tools/build/generate-build-details.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def generate_data(schema_version: str) -> collections.defaultdict[str, Any]:
if has_static_library:
data['libpython']['static'] = os.path.join(LIBDIR, LIBRARY)

data['c_api']['include'] = INCLUDEDIR
data['c_api']['headers'] = INCLUDEDIR
if LIBPC:
data['c_api']['pkgconfig_path'] = LIBPC

Expand Down
Loading