aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authortarek <none@none>2009-07-20 09:24:00 +0200
committertarek <none@none>2009-07-20 09:24:00 +0200
commitd3ba8f0b0453488d8dea19c58de696b9edb7dc08 (patch)
treef7d5949cc7413992ba448507ae3a39116740e39d /setuptools/command/easy_install.py
parent45ae6fb6610ca3faed32b0267d2cbdd1f8578e59 (diff)
downloadexternal_python_setuptools-d3ba8f0b0453488d8dea19c58de696b9edb7dc08.tar.gz
external_python_setuptools-d3ba8f0b0453488d8dea19c58de696b9edb7dc08.tar.bz2
external_python_setuptools-d3ba8f0b0453488d8dea19c58de696b9edb7dc08.zip
making ez_setup removing an existing setuptools distribution out of the way
--HG-- branch : distribute extra : rebase_source : a97ad8f22e698747b81a097215b8ebffdf7edae6
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py3
1 files changed, 1 insertions, 2 deletions
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')