]> granicus.if.org Git - python/commitdiff
Changed the default installation directory for data files (used by
authorGreg Ward <gward@python.net>
Sat, 24 Jun 2000 17:22:39 +0000 (17:22 +0000)
committerGreg Ward <gward@python.net>
Sat, 24 Jun 2000 17:22:39 +0000 (17:22 +0000)
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.)

Lib/distutils/command/install.py

index 5e8ade8d80c2a3df5880e1b55d4e9dd47935605d..1be49046ec235971ac881b6d020b3cdc9a0eef2e 100644 (file)
@@ -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',
         }
     }