[Python-modules-team] Bug#556424: python-turbogears makes python setup.py --help-commands fail
Leandro Lucarella
luca at llucax.com.ar
Sun Nov 15 23:10:04 UTC 2009
Package: python-turbogears
Version: 1.1-1
Severity: normal
When installing python-turbogears, the standard python setup.py
--help-commands fail if some non-mandatory dependencies are missing, for
example:
$ python setup.py --help-commands
Traceback (most recent call last):
File "setup.py", line 64, in <module>
namespace_packages=['sphinxcontrib'],
File "/usr/lib/python2.5/distutils/core.py", line 137, in setup
ok = dist.parse_command_line()
File "/usr/lib/python2.5/site-packages/setuptools/dist.py", line 232, in parse_command_line
result = _Distribution.parse_command_line(self)
File "/usr/lib/python2.5/distutils/dist.py", line 455, in parse_command_line
if self.handle_display_options(option_order):
File "/usr/lib/python2.5/distutils/dist.py", line 680, in handle_display_options
self.print_commands()
File "/usr/lib/python2.5/site-packages/setuptools/dist.py", line 369, in print_commands
cmdclass = ep.load(False) # don't require extras, we're not running
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1933, 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 633, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 531, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: tgMochiKit>=0.2beta
The setup.py is attached, in case it's useful.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (99, 'experimental'), (50, 'testing'), (9, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.31.1
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-turbogears depends on:
ii python 2.5.4-2 An interactive high-level object-o
ii python-cheetah 2.0.1-2 text-based template engine and Pyt
ii python-cherrypy 2.3.0-3 Python web development framework
ii python-configobj 4.5.2-2 a simple but powerful config file
ii python-decoratortools 1.7-3 version-agnostic decorators suppor
ii python-dispatch 0.5a.svn20080510-3 Rule and type-based generic dispat
ii python-formencode 1.2.2-1 validation and form generation Pyt
ii python-kid 0.9.6-1 simple Pythonic template language
ii python-nose 0.11.1-1 test discovery and running for Pyt
ii python-paste 1.7.2-4 tools for using a Web Server Gatew
ii python-pastedeploy 1.3.3-3 load, configure, and compose WSGI
ii python-pastescript 1.7.3-4 serving web applications, creating
ii python-pkg-resources 0.6.8-1 Package Discovery and Resource Acc
ii python-simplejson 2.0.9-1 Simple, fast, extensible JSON enco
ii python-sqlalchemy 0.5.6-1 SQL toolkit and Object Relational
ii python-sqlobject 0.11.0-1.1 Python module for SQLObject
ii python-support 1.0.4 automated rebuilding support for P
ii python-turbojson 1.2.1-4 Plugin to use JSON templates in Py
ii python-turbokid 1.0.4-6 TurboGears template plugin to use
Versions of packages python-turbogears recommends:
ii python-elixir 0.7.0-1 Declarative Mapper for SQLAlchemy
ii python-genshi 0.5.1-2 Python XML-based template engine
pn python-myghty <none> (no description available)
ii python-pysqlite2 2.5.5-3 Python interface to SQLite 3
python-turbogears suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup.py
Type: text/x-java
Size: 1915 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20091115/95d7edad/attachment.java>
More information about the Python-modules-team
mailing list