From 17826cc55c5fe3435767cea1e7cbb8ca9873e21d Mon Sep 17 00:00:00 2001 From: Tarek Ziade Date: Thu, 15 Jul 2010 02:01:09 +0200 Subject: fixed the edit mode when its used by setuptools fixes #174 --HG-- branch : distribute extra : rebase_source : be43431f85dd946fc44128bb4967844e43885ea9 --- setuptools/command/easy_install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'setuptools') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 2a227196..27fd00c7 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -639,7 +639,8 @@ Please make the appropriate changes for your system and try again. self.update_pth(dist) self.package_index.add(dist) self.local_index.add(dist) - self.install_egg_scripts(dist) + if not self.editable: + self.install_egg_scripts(dist) self.installed_projects[dist.key] = dist log.info(self.installation_report(requirement, dist, *info)) if (dist.has_metadata('dependency_links.txt') and -- cgit v1.2.3