diff options
author | Barry Warsaw <barry@python.org> | 2010-11-24 19:43:47 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2010-11-24 19:43:47 +0000 |
commit | 14d98ac31b9f4e5b89284271f03fb77fc81ab624 (patch) | |
tree | 2f784cc5d4b814b41c4d14f2f308e1173c938e58 /Lib/distutils/command/install.py | |
parent | fdba067213f1881632f9f1b7b4fce53cf88bbe28 (diff) | |
download | cpython-git-14d98ac31b9f4e5b89284271f03fb77fc81ab624.tar.gz |
Final patch for issue 9807.
Diffstat (limited to 'Lib/distutils/command/install.py')
-rw-r--r-- | Lib/distutils/command/install.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 58f6ec5b16..7f9d00f2dd 100644 --- a/Lib/distutils/command/install.py +++ b/Lib/distutils/command/install.py @@ -48,7 +48,7 @@ INSTALL_SCHEMES = { 'unix_prefix': { 'purelib': '$base/lib/python$py_version_short/site-packages', 'platlib': '$platbase/lib/python$py_version_short/site-packages', - 'headers': '$base/include/python$py_version_short/$dist_name', + 'headers': '$base/include/python$py_version_short$abiflags/$dist_name', 'scripts': '$base/bin', 'data' : '$base', }, @@ -82,7 +82,8 @@ if HAS_USER_SITE: INSTALL_SCHEMES['unix_user'] = { 'purelib': '$usersite', 'platlib': '$usersite', - 'headers': '$userbase/include/python$py_version_short/$dist_name', + 'headers': + '$userbase/include/python$py_version_short$abiflags/$dist_name', 'scripts': '$userbase/bin', 'data' : '$userbase', } @@ -322,6 +323,7 @@ class install(Command): 'prefix': prefix, 'sys_exec_prefix': exec_prefix, 'exec_prefix': exec_prefix, + 'abiflags': sys.abiflags, } if HAS_USER_SITE: |