Skip to content

Commit

Permalink
do write installed-files.txt if using install --egg
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalmustafa committed May 23, 2012
1 parent 66ff8e0 commit becfb83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pip/req.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,11 @@ def install(self, install_options, global_options=()):
logger.notify('Record file %s not found' % record_filename)
return
self.install_succeeded = True
if self.as_egg:
# there's no --always-unzip option we can pass to install command
# so we unable to save the installed-files.txt
return

f = open(record_filename)
for line in f:
line = line.strip()
Expand Down

0 comments on commit becfb83

Please sign in to comment.