[Python-checkins] r65940 - sandbox/trunk/setuptools/setuptools/command/easy_install.py

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


Author: phillip.eby
Date: Thu Aug 21 19:47:25 2008
New Revision: 65940

Log:
Enhanced error message per http://bugs.python.org/setuptools/issue28


Modified:
   sandbox/trunk/setuptools/setuptools/command/easy_install.py

Modified: sandbox/trunk/setuptools/setuptools/command/easy_install.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/command/easy_install.py	(original)
+++ sandbox/trunk/setuptools/setuptools/command/easy_install.py	Thu Aug 21 19:47:25 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