summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-10-18 04:08:46 +0000
committerPJ Eby <distutils-sig@python.org>2005-10-18 04:08:46 +0000
commit7b24f4f25051752d5699574c3f9f52b3d4a0eeb5 (patch)
tree9a2b00762a46a8839f7d4ac12ab014afc2c5a584 /setuptools/command/easy_install.py
parent0e29e26314cc4cf1031b60421fc1f9caca2fc35a (diff)
downloadpython-setuptools-bitbucket-7b24f4f25051752d5699574c3f9f52b3d4a0eeb5.tar.gz
Hurray! Our first dependency processing bug! This is cool because it
means that people are finally doing enough things with setuptools to have real-life version conflict scenarios. Luckily, the fix is trivial: use breadth-first instead of depth-first dependency processing, which I thought we were already doing anyway, but weren't. And we were giving precedence to already-installed packages, which means upgrades didn't work so well.
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index d85858a7..c076a5fd 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -394,7 +394,7 @@ class easy_install(Command):
return
try:
- WorkingSet(self.shadow_path).resolve(
+ WorkingSet([]).resolve(
[requirement], self.local_index, self.easy_install
)
except DistributionNotFound, e: