[Twisted-Python] how to depend (in a setuptools sense) upon Twisted?

Christopher Armstrong radix at twistedmatrix.com
Thu Apr 10 16:17:04 EDT 2008


On Thu, Apr 10, 2008 at 3:57 PM, Brian Warner <warner at lothar.com> wrote:

>  http://allmydata.org/trac/tahoe/ticket/378 has more details, but basically
>  Ubuntu is shipping .egg_info data that declares that the "Twisted"
>  distribution is installed, whereas debian sid is shipping data that says
>  "Twisted-Core" is installed. Since the setuptools dependency syntax is not
>  rich enough to provide alternatives, the Tahoe setup.py is forced to choose
>  between depending upon "Twisted" or upon "Twisted-Core".

[stuff about how somebody distributes an .egg for Twisted-Core]

This may not be helpful, but it is additional data: Twisted
subprojects are not easy_installable in any reasonable way. The only
thing that it makes sense to easy_install right now is "Twisted". This
has to do with the way easy_install attempts to install non-root
packages. Anyway, maybe it makes sense to depend on "Twisted Core"
sometimes to workaround buggy Debian cruft, but bad things will happen
if this results in easy_install ever attempting to download Twisted
Core as opposed to Twisted.

-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/




More information about the Twisted-Python mailing list