From: Greg Ward <gward@python.net>
Date: Sat, 24 Jun 2000 17:22:39 +0000 (+0000)
Subject: Changed the default installation directory for data files (used by
X-Git-Tag: v2.0b1~1428
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa2f4b6d8e297eda09d8ee52dc4a3600b7d458e7;p=python

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 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',
         }
     }