[Python-modules-team] Bug#574632: Missing dependency on python-markdown
Enrico Zini
enrico at debian.org
Fri Mar 19 16:01:41 UTC 2010
On Fri, Mar 19, 2010 at 03:03:07PM +0000, Enrico Zini wrote:
> in a turbogears2 project:
>
> $ python setup.py --help-commands
> Traceback (most recent call last):
[...]
> File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1948, in load
> entry = __import__(self.module_name, globals(),globals(), ['__name__'])
> File "/usr/lib/pymodules/python2.5/turbogears/__init__.py", line 8, in <module>
> from turbogears import (controllers, view, database, validators, command,
> File "/usr/lib/pymodules/python2.5/turbogears/widgets/__init__.py", line 1, in <module>
> from turbogears.widgets.base import *
> File "/usr/lib/pymodules/python2.5/turbogears/widgets/base.py", line 5, in <module>
> from turbogears import view, startup, config
> File "/usr/lib/pymodules/python2.5/turbogears/startup.py", line 31, in <module>
> pkg_resources.require("TurboGears")
^^^^^^^^^^
> File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 648, in require
> needed = self.resolve(parse_requirements(requirements))
> File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 546, in resolve
> raise DistributionNotFound(req)
> pkg_resources.DistributionNotFound: Markdown>=2.0.1
It might be an issue with TurboGears1, though. Feel free to reassign.
Why on earth would a --help-commands run in a TG2 app fail because it
lacks a TG1 dependency, that is something left as an exercise to whoever
designed that (censored) setup.py system.
Ciao,
Enrico
--
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enrico at enricozini.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20100319/e2fddb03/attachment.pgp>
More information about the Python-modules-team
mailing list