summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-02-14 17:50:59 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-02-14 17:50:59 (GMT)
commit17be514d0a9a391461fbbdb06332d7b2b8273374 (patch)
tree0e5e419b457fe42ab89eca5e6440a99bbb1d399f /Lib
parenta9076d655134386ddc7f9fca40c926a102f35b84 (diff)
downloadcpython-17be514d0a9a391461fbbdb06332d7b2b8273374.zip
cpython-17be514d0a9a391461fbbdb06332d7b2b8273374.tar.gz
cpython-17be514d0a9a391461fbbdb06332d7b2b8273374.tar.bz2
Closes #23437: Make user scripts directory versioned on Windows (patch by pmoore)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/command/install.py2
-rw-r--r--Lib/sysconfig.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index d768dc5..67db007 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -51,7 +51,7 @@ if HAS_USER_SITE:
'purelib': '$usersite',
'platlib': '$usersite',
'headers': '$userbase/Python$py_version_nodot/Include/$dist_name',
- 'scripts': '$userbase/Scripts',
+ 'scripts': '$userbase/Python$py_version_nodot/Scripts',
'data' : '$userbase',
}
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index c5f541b..137932e 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -57,7 +57,7 @@ _INSTALL_SCHEMES = {
'purelib': '{userbase}/Python{py_version_nodot}/site-packages',
'platlib': '{userbase}/Python{py_version_nodot}/site-packages',
'include': '{userbase}/Python{py_version_nodot}/Include',
- 'scripts': '{userbase}/Scripts',
+ 'scripts': '{userbase}/Python{py_version_nodot}/Scripts',
'data': '{userbase}',
},
'posix_user': {