From 6ad276bf9c860d9d62af0ec45c537cef03b3fc93 Mon Sep 17 00:00:00 2001 From: Erik Bray Date: Mon, 23 May 2011 10:52:19 -0400 Subject: 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 --- setuptools/dist.py | 1 + 1 file changed, 1 insertion(+) (limited to 'setuptools') 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']}) -- cgit v1.2.3