From: Greg Ward Date: Sat, 10 Jul 1999 02:02:31 +0000 (+0000) Subject: Added a self-berating command relating to installation directories for X-Git-Tag: v1.6a1~1090 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba3f108ec08116adec36471c7d0e5dbfcb97def2;p=thirdparty%2FPython%2Fcpython.git Added a self-berating command relating to installation directories for module distributions that contain platform-specific files. --- diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 54b81879a566..01ea0052e6c2 100644 --- a/Lib/distutils/command/install.py +++ b/Lib/distutils/command/install.py @@ -165,6 +165,14 @@ class Install (Command): # shared files, with no nice way to override it! (this # might be a Python problem, though, not a Distutils # problem...) + + # NO: the way to fix this is + # * any platform-dependent files in distribution? + # yes: install under exec-prefix + # no: install under prefix + # ...which will require a pretty major rethink of all + # this. Damn. + self.install_site_platlib = \ os.path.join (self.install_lib, 'site-packages') else: