aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Bray <embray@stsci.edu>2011-05-23 10:52:19 -0400
committerErik Bray <embray@stsci.edu>2011-05-23 10:52:19 -0400
commit6ad276bf9c860d9d62af0ec45c537cef03b3fc93 (patch)
treef22b4595bcf856c8c7b26f6638db307a85a2acc7
parent38ac54038c96d339f55a66af6ad8da20320ff411 (diff)
downloadexternal_python_setuptools-6ad276bf9c860d9d62af0ec45c537cef03b3fc93.tar.gz
external_python_setuptools-6ad276bf9c860d9d62af0ec45c537cef03b3fc93.tar.bz2
external_python_setuptools-6ad276bf9c860d9d62af0ec45c537cef03b3fc93.zip
setting to_scan to [] instead of None ensures (somewhat confusingly) that find_links are used, when available, to install each dist listed in setup_requires
--HG-- branch : distribute extra : rebase_source : 4efd4ba05e527df60a33c55da30c19586a9cecdb
-rw-r--r--setuptools/dist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py
index fd4ca66b..0ad18122 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -266,6 +266,7 @@ class Distribution(_Distribution):
"""Fetch an egg needed for building"""
try:
cmd = self._egg_fetcher
+ cmd.package_index.to_scan = []
except AttributeError:
from setuptools.command.easy_install import easy_install
dist = self.__class__({'script_args':['easy_install']})