summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2008-08-21 17:47:25 +0000
committerphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2008-08-21 17:47:25 +0000
commit0c6e5beadeffada4ffce5e1a3ca0da78c2574a13 (patch)
tree892fc3638607973ccbe423002df0e94721948547
parent24ec1a472685aaa56af945d7da3790681d008dea (diff)
downloadpython-setuptools-0c6e5beadeffada4ffce5e1a3ca0da78c2574a13.tar.gz
Enhanced error message per http://bugs.python.org/setuptools/issue28
git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@65940 6015fed2-1504-0410-9fe1-9d1591cc4771
-rwxr-xr-xsetuptools/command/easy_install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index dae506b..48fdc8e 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]