[Pkg-trac-devel] Bug#468705: (no subject)

W. Martin Borgert debacle at debian.org
Thu Jul 10 15:47:41 UTC 2008


reopen 468705
stop

The dependency has been fixed according to the bug report, but I
believe, that this does not work. Currently, trac needs both 
python-pkg-resources AND python-setuptools as reported here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487150#10

Is this maybe a bug in python-pkg-resources, i.e. missed files
when moving from setuptools to pkg-resources?

# trac-admin /usr/local/trac/test initenv
Traceback (most recent call last):
  File "/usr/bin/trac-admin", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2561, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 626, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: setuptools>=0.6b1

With setuptools installed, all is fine.






More information about the Pkg-trac-devel mailing list