diff options
author | Erik Bray <embray@stsci.edu> | 2012-09-06 15:51:09 -0400 |
---|---|---|
committer | Erik Bray <embray@stsci.edu> | 2012-09-06 15:51:09 -0400 |
commit | d847dbfeee2b2c85d7bc0a66813c33836a9850fa (patch) | |
tree | cf4b50b5a36018e59664e0a3b0ab6866db53c461 /setuptools/dist.py | |
parent | 9ebbe014df37c19976a5a9cb0ac2fa228a03144a (diff) | |
download | external_python_setuptools-d847dbfeee2b2c85d7bc0a66813c33836a9850fa.tar.gz external_python_setuptools-d847dbfeee2b2c85d7bc0a66813c33836a9850fa.tar.bz2 external_python_setuptools-d847dbfeee2b2c85d7bc0a66813c33836a9850fa.zip |
Adds a fix for issue #318, including a regression test. This also fixes another test that was passing trivially due to *bug* in yet another test, ugh
--HG--
branch : distribute
extra : rebase_source : 476550766b7b756dced040ad4356b7685d6f062a
Diffstat (limited to 'setuptools/dist.py')
-rw-r--r-- | setuptools/dist.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py index 0ad18122..6607cf7b 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -264,6 +264,7 @@ class Distribution(_Distribution): def fetch_build_egg(self, req): """Fetch an egg needed for building""" + try: cmd = self._egg_fetcher cmd.package_index.to_scan = [] @@ -287,7 +288,7 @@ class Distribution(_Distribution): cmd = easy_install( dist, args=["x"], install_dir=os.curdir, exclude_scripts=True, always_copy=False, build_directory=None, editable=False, - upgrade=False, multi_version=True, no_report = True + upgrade=False, multi_version=True, no_report=True, user=False ) cmd.ensure_finalized() self._egg_fetcher = cmd |