From d3ba8f0b0453488d8dea19c58de696b9edb7dc08 Mon Sep 17 00:00:00 2001 From: tarek Date: Mon, 20 Jul 2009 09:24:00 +0200 Subject: making ez_setup removing an existing setuptools distribution out of the way --HG-- branch : distribute extra : rebase_source : a97ad8f22e698747b81a097215b8ebffdf7edae6 --- setuptools/command/easy_install.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'setuptools/command/easy_install.py') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 2289b1d5..228a9a69 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -969,8 +969,7 @@ See the setuptools documentation for the "develop" command for more info. if not self.dry_run: self.pth_file.save() - - if dist.key=='setuptools': + if dist.key=='distribute': # Ensure that setuptools itself never becomes unavailable! # XXX should this check for latest version? filename = os.path.join(self.install_dir,'setuptools.pth') -- cgit v1.2.1