Kaydet (Commit) fa2f4b6d authored tarafından Greg Ward's avatar Greg Ward

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.)
üst 9aa668b0
...@@ -20,28 +20,28 @@ INSTALL_SCHEMES = { ...@@ -20,28 +20,28 @@ INSTALL_SCHEMES = {
'platlib': '$platbase/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/$dist_name',
'scripts': '$base/bin', 'scripts': '$base/bin',
'data' : '$base/share', 'data' : '$base',
}, },
'unix_home': { 'unix_home': {
'purelib': '$base/lib/python', 'purelib': '$base/lib/python',
'platlib': '$base/lib/python', 'platlib': '$base/lib/python',
'headers': '$base/include/python/$dist_name', 'headers': '$base/include/python/$dist_name',
'scripts': '$base/bin', 'scripts': '$base/bin',
'data' : '$base/share', 'data' : '$base',
}, },
'nt': { 'nt': {
'purelib': '$base', 'purelib': '$base',
'platlib': '$base', 'platlib': '$base',
'headers': '$base\\Include\\$dist_name', 'headers': '$base\\Include\\$dist_name',
'scripts': '$base\\Scripts', 'scripts': '$base\\Scripts',
'data' : '$base\\Data', 'data' : '$base',
}, },
'mac': { 'mac': {
'purelib': '$base:Lib', 'purelib': '$base:Lib',
'platlib': '$base:Mac:PlugIns', 'platlib': '$base:Mac:PlugIns',
'headers': '$base:Include:$dist_name', 'headers': '$base:Include:$dist_name',
'scripts': '$base:Scripts', 'scripts': '$base:Scripts',
'data' : '$base:Data', 'data' : '$base',
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment