diff options
-rwxr-xr-x | setuptools/command/easy_install.py | 4 | ||||
-rw-r--r-- | setuptools/dist.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 2287c1b7..b79b0d51 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -363,8 +363,8 @@ Please make the appropriate changes for your system and try again. if f: f.close() if os.path.exists(ok_file): os.unlink(ok_file) if os.path.exists(pth_file): os.unlink(pth_file) - - log.warn("TEST FAILED: %s does NOT support .pth files", instdir) + if not self.multi_version: + log.warn("TEST FAILED: %s does NOT support .pth files", instdir) return False def install_egg_scripts(self, dist): diff --git a/setuptools/dist.py b/setuptools/dist.py index 273ffe00..d906eb72 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -267,7 +267,7 @@ class Distribution(_Distribution): self.__class__({'script_args':['easy_install']}), args="x", install_dir=os.curdir, exclude_scripts=True, always_copy=False, build_directory=None, editable=False, - upgrade=False + upgrade=False, multi_version=True ) cmd.ensure_finalized() cmd.zip_ok = None # override any setup.cfg setting for these |