[Distutils] setuptools/EasyInstall 0.6a1 candidate 1 snapshot

Christopher Lenz cmlenz at gmx.de
Mon Aug 22 16:30:36 CEST 2005


Am 22.08.2005 um 15:55 schrieb Phillip J. Eby:
> At 03:09 PM 8/22/2005 +0200, Christopher Lenz wrote:
>
>> I've upgraded to 0.6a1 on one machine, and am now getting the
>> following error for a fresh checkout of my project [1]:
>> ...
>>       raise ValueError(
>>   ValueError: ("Missing 'Version:' header and/or PKG-INFO file",
>> bitten [unknown version] (/usr/local/src/bitten/trunk))
>>
>
> Is there a /usr/local/src/bitten/trunk/bitten.egg-info/PKG-INFO  
> file, with a 'Version:' header in it?  If not, then the error  
> message is correct, and you should go to /usr/local/src/bitten/ 
> trunk and run "setup.py egg_info" to rebuild the project's egg-info.

Running "setup.py egg_info" results in exactly the error I posted. A  
chicken and egg problem, I suppose. ;-)

Note that the error is raised from the "ez_setup.use_setuptools()"  
call in setup.py. If I just import setuptools without going through  
ez_setup, everything works fine. Am I missing something?

Thanks,
Chris
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/



More information about the Distutils-SIG mailing list