At 04:50 PM 9/29/2006 -0700, Joshua Boverhof wrote: >I've had problems getting it to install these packages (python2.5, >setuptools 0.6c3): > >packages with extensions fail: > 4Suite -- > Twisted -- already declared problem in the PackageNotes > >Second, if the file name of a distribution doesn't match the >"package" name once installed setuptools fails to recognize it as >installed. > > ZopeInterface --> zope.interface > -- appears to build and install, but fails when setuptools tries to >import it as "ZopeInterface" > >Or if the package installs as a sub-package of an existing package: > > TwistedWeb --> twisted.web > -- again fails when it tries to import "TwistedWeb" > >I think the first two are currently impossible, but potentially I >missed something with the second two?
Setuptools doesn't "import" ZopeInterface or TwistedWeb - it looks for *installed distributions* with those names. There's a big difference. If you find an installation package for "zope.interface" whose filename is "ZopeInterface" (and similar for TwistedWeb/twisted.web), then that is an indication that the installation package was not created using the distutils (or that it was renamed after creation). In either case, it is simply not compatible with setuptools. Setuptools only supports installing *unmodified* and *un-renamed* distutils-based distributions, although it tries very hard to cope with customized setup scripts that extend the distutils. There are limits, however, and Twisted falls well outside the scope of what setuptools can reasonably monkeypatch. :( _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig