diff options
author | Alexandre Conrad <alexandre.conrad@gmail.com> | 2010-04-16 19:26:39 +0200 |
---|---|---|
committer | Alexandre Conrad <alexandre.conrad@gmail.com> | 2010-04-16 19:26:39 +0200 |
commit | 627c3e7242c0ceaa2ed892d990dbf174e046b5a9 (patch) | |
tree | 85ba5ed0158fb68bd40e7278cf742f41801b4c54 /pip/commands | |
parent | 6d125930e20f963201be26ebac572d7d1e52869a (diff) | |
download | pip-627c3e7242c0ceaa2ed892d990dbf174e046b5a9.tar.gz |
Remove build directories after commands. Fixes #57
Diffstat (limited to 'pip/commands')
-rw-r--r-- | pip/commands/install.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pip/commands/install.py b/pip/commands/install.py index 7e688edcf..56b63e755 100644 --- a/pip/commands/install.py +++ b/pip/commands/install.py @@ -158,7 +158,7 @@ class InstallCommand(Command): for req in parse_requirements(filename, finder=finder, options=options): requirement_set.add_requirement(req) if not options.no_download: - requirement_set.install_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) + requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) else: requirement_set.locate_files() if not options.no_install and not self.bundle: @@ -172,6 +172,7 @@ class InstallCommand(Command): requirement_set.successfully_downloaded]) if downloaded: logger.notify('Successfully downloaded %s' % downloaded) + requirement_set.cleanup_files(bundle=self.bundle) return requirement_set InstallCommand() |