From 6620342698344d014a728a6a600447c9b594b3ba 2013-12-14 02:08:14 From: Thomas Kluyver Date: 2013-12-14 02:08:14 Subject: [PATCH] Don't build Python modules unnecessarily before symlinking to site-packages --- diff --git a/setupbase.py b/setupbase.py index 395f0b5..d8841ce 100644 --- a/setupbase.py +++ b/setupbase.py @@ -390,7 +390,10 @@ class install_symlinked(install): def run(self): if sys.platform == 'win32': raise Exception("This doesn't work on Windows.") - install.run(self) + + # Run all sub-commands (at least those that need to be run) + for cmd_name in self.get_sub_commands(): + self.run_command(cmd_name) # 'sub_commands': a list of commands this command might have to run to # get its work done. See cmd.py for more info.