summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-06-24 17:22:39 +0000
committerGreg Ward <gward@python.net>2000-06-24 17:22:39 +0000
commitfa2f4b6d8e297eda09d8ee52dc4a3600b7d458e7 (patch)
treebf58cf5ae3b5344d371d9b268244f707333ea1ff
parent9aa668b03a7ea6b0011c159d3ab5b5242a69d579 (diff)
downloadcpython-git-fa2f4b6d8e297eda09d8ee52dc4a3600b7d458e7.tar.gz
Changed the default installation directory for data files (used by
the "install_data" command to the installation base, which is usually just sys.prefix. (Any setup scripts out there that specify data files will have to set the installation directory, relative to the base, explicitly.)
-rw-r--r--Lib/distutils/command/install.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 5e8ade8d80..1be49046ec 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -20,28 +20,28 @@ INSTALL_SCHEMES = {
'platlib': '$platbase/lib/python$py_version_short/site-packages',
'headers': '$base/include/python$py_version_short/$dist_name',
'scripts': '$base/bin',
- 'data' : '$base/share',
+ 'data' : '$base',
},
'unix_home': {
'purelib': '$base/lib/python',
'platlib': '$base/lib/python',
'headers': '$base/include/python/$dist_name',
'scripts': '$base/bin',
- 'data' : '$base/share',
+ 'data' : '$base',
},
'nt': {
'purelib': '$base',
'platlib': '$base',
'headers': '$base\\Include\\$dist_name',
'scripts': '$base\\Scripts',
- 'data' : '$base\\Data',
+ 'data' : '$base',
},
'mac': {
'purelib': '$base:Lib',
'platlib': '$base:Mac:PlugIns',
'headers': '$base:Include:$dist_name',
'scripts': '$base:Scripts',
- 'data' : '$base:Data',
+ 'data' : '$base',
}
}