diff options
| author | PJ Eby <distutils-sig@python.org> | 2006-02-28 20:59:27 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2006-02-28 20:59:27 +0000 |
| commit | 0e3d174d58cba20737bbb8fa4184755dd17c4b83 (patch) | |
| tree | dc56f42f9482b60c9ef1fe4724dfbc173c0ce7a9 /setuptools/command/easy_install.py | |
| parent | 7c9b80ed90ea760e026d634c5ad1fbc6eb62cb0d (diff) | |
| download | python-setuptools-git-0e3d174d58cba20737bbb8fa4184755dd17c4b83.tar.gz | |
When installing setup_requires/tests_require packages, use
--multi-version so that '.' doesn't have to support .pth files.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042681
Diffstat (limited to 'setuptools/command/easy_install.py')
| -rwxr-xr-x | setuptools/command/easy_install.py | 4 |
1 files changed, 2 insertions, 2 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): |
