Don't build Python modules unnecessarily before symlinking to site-packages

This commit is contained in:
Thomas Kluyver 2013-12-13 18:08:14 -08:00
parent fe988cae01
commit a391a1f755

View File

@ -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.