Fix installing with --root

This commit is contained in:
Andrew Resch 2008-12-12 04:23:47 +00:00
parent d1aaad28e7
commit f482d747e0
1 changed files with 2 additions and 2 deletions

View File

@ -305,12 +305,12 @@ class clean(_clean):
_clean.run(self)
class install(_install):
sub_commands = _install.sub_commands
def run(self):
for cmd_name in self.get_sub_commands():
self.run_command(cmd_name)
_install.run(self)
self.do_egg_install()
if not self.root:
self.do_egg_install()
cmdclass = {
'build': build,