diff options
author | PJ Eby <distutils-sig@python.org> | 2008-08-21 17:48:21 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2008-08-21 17:48:21 +0000 |
commit | 22071a62ddcb38c2b224ab94981e6c301d41b187 (patch) | |
tree | 39f01372a9736ce9ddf1e13909ce6e4c32d3c72a /setuptools/command/easy_install.py | |
parent | 19cdcef91ad95b4b1fb0d0e14ceae250835944e6 (diff) | |
download | external_python_setuptools-22071a62ddcb38c2b224ab94981e6c301d41b187.tar.gz external_python_setuptools-22071a62ddcb38c2b224ab94981e6c301d41b187.tar.bz2 external_python_setuptools-22071a62ddcb38c2b224ab94981e6c301d41b187.zip |
Enhanced error message per http://bugs.python.org/setuptools/issue28
(backport from trunk)
--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065941
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 d972d829..18f89d72 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -639,11 +639,11 @@ Please make the appropriate changes for your system and try again. setups = glob(os.path.join(setup_base, '*', 'setup.py')) if not setups: raise DistutilsError( - "Couldn't find a setup script in %s" % dist_filename + "Couldn't find a setup script in %s" % os.path.abspath(dist_filename) ) if len(setups)>1: raise DistutilsError( - "Multiple setup scripts in %s" % dist_filename + "Multiple setup scripts in %s" % os.path.abspath(dist_filename) ) setup_script = setups[0] |