[Distutils] [Bulk] Re: setuptools updated in CVS
Ian Bicking
ianb at colorstudy.com
Wed Aug 10 20:03:16 CEST 2005
Phillip J. Eby wrote:
> At 09:41 PM 8/9/2005 +0200, Vincenzo Di Massa wrote:
>
>>I just checked out the new version but...
>>
>>hawk at hawk:~/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 / ianb at colorstudy.com / http://blog.ianbicking.org
More information about the Distutils-SIG
mailing list