cocagne / txdbus

Native Python implementation of DBus for Twisted

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

txdbus will not install if twisted pip installed at the same time

dpnova opened this issue · comments

This is most common in a requirements file, from chris| on #twisted irc:

"before installing, pip runs egg_info on all packages and txdbus decides it is a good thing to just SystemExit() the setup if twisted is not there, even if it is not even needed"

Ideally twisted would be declared as a dependency correctly in the setup() call.

Cheers!

Standard distutils does not support the automatic download of dependencies so I threw an explicit error if the dependency didn't exist at install time. This works fine for manual installs but I hadn't considered the negative effect on pip. Version 1.0.3 of txdbus replaces distutils with setuptools (which does handle dependency downloads) to resolve this issue. Thanks for the bug report.