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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
long_desc = '''
This package contains the aafigure_ Sphinx_ extension.
.. _aafigure: https://launchpad.net/aafigure
.. _Sphinx: http://sphinx.pocoo.org/
aafigure_ is a program and a reStructuredText_ directive to allow embeded ASCII
art figures to be rendered as nice images in various image formats. The
aafigure_ directive needs a *hardcoded* image format, so it doesn't goes well
with Sphinx_ multi-format support.
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
This extension adds the ``aafig`` directive that automatically selects the
image format to use acording to the Sphinx_ writer used to generate the
documentation.
Usage example::
.. aafig::
:aspect: 60
:scale: 150
:proportional:
:textual:
+-------+ +-----------+
| Hello +-------->+ aafigure! |
+-------+ +-----------+
'''
requires = ['Sphinx>=0.6', 'aafigure>=0.3']
setup(
name='sphinxcontrib-aafig',
version='1.0',
url='http://packages.python.org/sphinxcontrib-aafig/',
download_url='http://pypi.python.org/pypi/sphinxcontrib-aafig',
license='BOLA',
author='Leandro Lucarella',
author_email='[email protected]',
description='aafig Sphinx extension',
long_description=long_desc,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: Public Domain',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Documentation',
'Topic :: Utilities',
],
platforms='any',
packages=find_packages(),
include_package_data=True,
install_requires=requires,
namespace_packages=['sphinxcontrib'],
)
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team