From ba3f108ec08116adec36471c7d0e5dbfcb97def2 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Sat, 10 Jul 1999 02:02:31 +0000 Subject: [PATCH] Added a self-berating command relating to installation directories for module distributions that contain platform-specific files. --- Lib/distutils/command/install.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 54b81879a5..01ea0052e6 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: -- 2.40.0