From becfb83e36b738108905d3c385581a8853e349e3 Mon Sep 17 00:00:00 2001 From: Kamal Bin Mustafa Date: Thu, 24 May 2012 07:36:14 +0800 Subject: [PATCH] do write installed-files.txt if using install --egg --- pip/req.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pip/req.py b/pip/req.py index 0e506726e45..8a309493fdc 100644 --- a/pip/req.py +++ b/pip/req.py @@ -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()