Phillip J. Eby wrote:
> At 09:41 PM 8/9/2005 +0200, Vincenzo Di Massa wrote:
> 
>>I just checked out the new version but...
>>
>>[EMAIL PROTECTED]:~/tmp/setuptools/python-setuptools-0.6a1$ python 
>>ez_setup.py -d 
>>../tmp graph
> 
> 
> Okay, I figured out why I can't reproduce this; when working from the CVS 
> version you need to use "setup.py develop" or "setup.py install" or even 
> "setup.py egg_info" or "setup.py test" in order to *build& setuptools 
> before attempting to use it. Otherwise you don't have a PKG-INFO file, and 
> thus don't have a valid egg yet.
> 
> I'll have to update the documentation to reflect that necessary step.

Wouldn't it be better to detect that PKG-INFO is missing, and give an 
error that suggests the package has not been properly build with 
egg_info?  I think as a general rule confusing error messages should be 
fixed with better error messages, not documentation.


-- 
Ian Bicking  /  [EMAIL PROTECTED]  /  http://blog.ianbicking.org
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to