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.)
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 5e8ade8..1be4904 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -20,28 +20,28 @@
'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',
}
}