Skip to content

Commit 3026d13

Browse files
Fix osx_framework_user include to match distutils (GH-27093) (GH-27159)
(cherry picked from commit 2854460) Co-authored-by: Tzu-ping Chung <[email protected]>
1 parent cc1a47c commit 3026d13

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Lib/sysconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def joinuser(*args):
111111
'platstdlib': '{userbase}/lib/python',
112112
'purelib': '{userbase}/lib/python/site-packages',
113113
'platlib': '{userbase}/lib/python/site-packages',
114-
'include': '{userbase}/include',
114+
'include': '{userbase}/include/python{py_version_short}',
115115
'scripts': '{userbase}/bin',
116116
'data': '{userbase}',
117117
},
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The framework build's user header path in sysconfig is changed to add a
2+
'pythonX.Y' component to match distutils's behavior.

0 commit comments

Comments
 (0)