[Python-checkins] r65941 - sandbox/branches/setuptools-0.6/setuptools/command/easy_install.py

phillip.eby python-checkins at python.org
Thu Aug 21 19:48:21 CEST 2008


Author: phillip.eby
Date: Thu Aug 21 19:48:21 2008
New Revision: 65941

Log:
Enhanced error message per http://bugs.python.org/setuptools/issue28
(backport from trunk)


Modified:
   sandbox/branches/setuptools-0.6/setuptools/command/easy_install.py

Modified: sandbox/branches/setuptools-0.6/setuptools/command/easy_install.py
==============================================================================
--- sandbox/branches/setuptools-0.6/setuptools/command/easy_install.py	(original)
+++ sandbox/branches/setuptools-0.6/setuptools/command/easy_install.py	Thu Aug 21 19:48:21 2008
@@ -639,11 +639,11 @@
             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]
 


More information about the Python-checkins mailing list