]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix so the 'install_libbase' directory -- where .pth files are installed --
authorGreg Ward <gward@python.net>
Mon, 7 Aug 2000 00:48:04 +0000 (00:48 +0000)
committerGreg Ward <gward@python.net>
Mon, 7 Aug 2000 00:48:04 +0000 (00:48 +0000)
participates in the "--root" hack, ie. it also has a new root directory
hacked on at the very last minute (essential if the .pth file is to be
included in an RPM or other smart installer!).

Lib/distutils/command/install.py

index 6385fdc22445d8dd48f35b68921b6da4dee40b8a..2a59e16b96a276669e114579684002a9982d1a67 100644 (file)
@@ -273,7 +273,7 @@ class install (Command):
         # If a new root directory was supplied, make all the installation
         # dirs relative to it.
         if self.root is not None:
-            for name in ('lib', 'purelib', 'platlib',
+            for name in ('libbase', 'lib', 'purelib', 'platlib',
                          'scripts', 'data', 'headers'):
                 attr = "install_" + name
                 new_val = change_root (self.root, getattr (self, attr))