mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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.)
This commit is contained in:
parent
9aa668b03a
commit
fa2f4b6d8e
1 changed files with 4 additions and 4 deletions
|
@ -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',
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue