Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 59cb829

Browse filesBrowse files
miss-islingtonmgornyFFY00
authored
[3.14] gh-134455: Fix build-details.json to use the c_api.headers key (GH-134456) (#134504)
Co-authored-by: Michał Górny <mgorny@gentoo.org> Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
1 parent db98e0b commit 59cb829
Copy full SHA for 59cb829

File tree

Expand file treeCollapse file tree

2 files changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-1
lines changed
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fixed ``build-details.json`` generation to use the correct ``c_api.headers``
2+
as defined in :pep:`739`, instead of ``c_api.include``.

‎Tools/build/generate-build-details.py

Copy file name to clipboardExpand all lines: Tools/build/generate-build-details.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def generate_data(schema_version: str) -> collections.defaultdict[str, Any]:
123123
if has_static_library:
124124
data['libpython']['static'] = os.path.join(LIBDIR, LIBRARY)
125125

126-
data['c_api']['include'] = INCLUDEDIR
126+
data['c_api']['headers'] = INCLUDEDIR
127127
if LIBPC:
128128
data['c_api']['pkgconfig_path'] = LIBPC
129129

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.