Package: python-twisted-core
Version: 8.0.1-1
Severity: normal

I'm working on a project (Tahoe: http://allmydata.org) that builds with
setuptools and is trying to use the 'install_requires=' feature to declare
what other bits of python code it depends upon. Setuptools thinks in terms of
"distributions" (roughly equivalent to a debian package). We currently
declare a dependency upon the "Twisted" distribution, which is the name of
the distribution that twisted-8.0.1's setup.py constructs if you install it
from source, and is also the name that Ubuntu uses in their most recent
python-twisted-core package (/usr/share/pyshared/Twisted-2.5.0.egg-info
exists in the contents page at
http://packages.ubuntu.com/hardy/all/python-twisted-core/filelist).

Unfortunately, the version that sid currently includes declares itself to
provide a distribution named "Twisted-Core" instead of just "Twisted", so
this dependency doesn't work. The setuptools dependency language is not as
flexible as debian's, so we can't do something like 'Twisted | Twisted-Core'.

Would it be possible to change the way the .egg-info file gets created to
make it match the other two examples? I believe that 8.0.1-1 is the first
debian version to ship with .egg-info files at all, so there isn't a lot of
historical baggage to deal with yet, and this would improve cross-platform
compatibility. I suspect the "Twisted-Core" name appeared because of the way
the split Twisted sub-projects are being packaged in debian, but I haven't
investigated it enough to be sure.

http://allmydata.org/trac/tahoe/ticket/378 is the relevant Tahoe bug, and
includes a little bit more information:

 * a "Twisted-Core" distribution .egg-info file results from running the
   individual twisted subproject's setup.py, but I'm not sure that is still
   the way that Twisted is meant to be installed.. they've kind of backed
   away from the subproject idea, and no longer distribute subproject
   tarballs independently.

thanks!
 -Brian



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.6
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-twisted-core depends on:
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-central                0.6.5      register and build utility for Pyt
ii  python-twisted-bin            8.0.1-1    Event-based framework for internet
ii  python-zopeinterface          3.3.1-6    The implementation of interface de

Versions of packages python-twisted-core recommends:
ii  python-openssl [python-pyopen 0.6-5      Python wrapper around the OpenSSL 
ii  python-pam                    0.4.2-12   A Python interface to the PAM libr
ii  python-pyopenssl              0.6-5      transitional dummy package
ii  python-serial                 2.2-4      Module encapsulating access for th

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to