Skip to content

Commit cd2249f

Browse files
committed
Fix osx_framework_user include to match distutils
1 parent e14d5ae commit cd2249f

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)