[Distutils] Twisted and easy_install

Jay Parlar parlar at gmail.com
Sun Feb 5 20:13:18 CET 2006

On 2/5/06, Bob Ippolito <bob at redivi.com> wrote:
> On Feb 5, 2006, at 10:22 AM, Phillip J. Eby wrote:
>    [snip]
> > Twisted does some interesting mangling of the build_ext process in
> > order to
> > support optional extensions, that are only determined at build
> > time.  I've
> > been meaning to add a facility to do this in setuptools, but it's
> > not done
> > yet, and in any case Twisted would have to *use* that facility in
> > order for
> > it to work.  I'm afraid Twisted isn't supportable by easy_install
> > at the
> > present time.
> Not only that, but the top-level script for Twisted isn't distutils
> based.  It is a script that invokes several setup.py files for each
> of the subprojects if given "build" or "install" as options, and
> otherwise takes totally different arguments.
> Even if it did install with easy_install it would be a little
> misleading since Twisted requires Zope.Interface and has a bunch of
> extras (like SSL or serial support).  Twisted really could use a good
> refactor to support setuptools, but the core team isn't interested in
> doing that.
> I believe Zope.Interface is not compatible with setuptools also.  I'm
> not sure why... I think it's the distribution name or something.

That's more or less what I figured. I mostly wanted to post the error
message because it's non-obvious what went wrong, and wanted to make
sure someone in the know saw it.

I think I still remember how to install packages the old fashioned
way, something or other about 'setup.py install' :)

Jay P.

More information about the Distutils-SIG mailing list