Fix osx_framework_user include to match distutils (#27093)

This commit is contained in:
Tzu-ping Chung 2021-07-15 17:44:04 +08:00 committed by GitHub
parent 2693132292
commit 28544609cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,7 @@ if _HAS_USER_BASE:
'platstdlib': '{userbase}/lib/python',
'purelib': '{userbase}/lib/python/site-packages',
'platlib': '{userbase}/lib/python/site-packages',
'include': '{userbase}/include',
'include': '{userbase}/include/python{py_version_short}',
'scripts': '{userbase}/bin',
'data': '{userbase}',
},

View File

@ -0,0 +1,2 @@
The framework build's user header path in sysconfig is changed to add a
'pythonX.Y' component to match distutils's behavior.