[Distutils] setuptools/EasyInstall 0.6a1 candidate 1 snapshot

Christopher Lenz cmlenz at gmx.de
Mon Aug 22 15:09:18 CEST 2005


Hi Phillip,

Am 22.08.2005 um 06:03 schrieb Phillip J. Eby:
> If you have any projects using setuptools, I encourage you to give  
> this
> snapshot a try, so I can find out if there are still any lurking  
> bugs.  If
> there are no bug reports by next weekend, this will get pushed out  
> as 0.6a1.

I've upgraded to 0.6a1 on one machine, and am now getting the  
following error for a fresh checkout of my project [1]:

   $ ./setup.py build
   Traceback (most recent call last):
     File "./setup.py", line 23, in ?
       ez_setup.use_setuptools()
     File "/usr/local/src/bitten/trunk/ez_setup/__init__.py", line  
72, in use_setuptools
       pkg_resources.require("setuptools>="+version)
     File "/usr/lib/python2.3/site-packages/setuptools-0.6a1- 
py2.3.egg/pkg_resources.py", line 503, in require
       needed = self.resolve(parse_requirements(requirements))
     File "/usr/lib/python2.3/site-packages/setuptools-0.6a1- 
py2.3.egg/pkg_resources.py", line 479, in resolve
       env = Environment(self.entries)
     File "/usr/lib/python2.3/site-packages/setuptools-0.6a1- 
py2.3.egg/pkg_resources.py", line 558, in __init__
       self.scan(search_path)
     File "/usr/lib/python2.3/site-packages/setuptools-0.6a1- 
py2.3.egg/pkg_resources.py", line 588, in scan
       self.add(dist)
     File "/usr/lib/python2.3/site-packages/setuptools-0.6a1- 
py2.3.egg/pkg_resources.py", line 610, in add
       if dist not in dists:
     File "/usr/lib/python2.3/site-packages/setuptools-0.6a1- 
py2.3.egg/pkg_resources.py", line 1760, in __cmp__
       def __cmp__(self, other): return cmp(self.hashcmp, other)
     File "/usr/lib/python2.3/site-packages/setuptools-0.6a1- 
py2.3.egg/pkg_resources.py", line 1760, in __cmp__
       def __cmp__(self, other): return cmp(self.hashcmp, other)
     File "/usr/lib/python2.3/site-packages/setuptools-0.6a1- 
py2.3.egg/pkg_resources.py", line 1755, in <lambda>
       lambda self: (
     File "/usr/lib/python2.3/site-packages/setuptools-0.6a1- 
py2.3.egg/pkg_resources.py", line 1782, in parsed_version
       self._parsed_version = pv = parse_version(self.version)
     File "/usr/lib/python2.3/site-packages/setuptools-0.6a1- 
py2.3.egg/pkg_resources.py", line 1797, in version
       raise ValueError(
   ValueError: ("Missing 'Version:' header and/or PKG-INFO file",  
bitten [unknown version] (/usr/local/src/bitten/trunk))

Previously I've been using 0.5a13. The project includes ez_setup as  
svn:external.
Is this a problem in (or incompatibility with) ez_setup?

Thanks,
Chris

  [1] http://bitten.cmlenz.net/
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/



More information about the Distutils-SIG mailing list