[Distutils] why would you ever need to specify setuptools as a dependency?

Hanno Schlichting hanno at hannosch.eu
Fri Oct 9 15:22:49 CEST 2009


On Fri, Oct 9, 2009 at 3:14 PM, Jim Fulton <jim at zope.com> wrote:
> On Fri, Oct 9, 2009 at 7:57 AM, Hanno Schlichting <hanno at hannosch.eu> wrote:
>> On Fri, Oct 9, 2009 at 1:07 PM, Chris Withers <chris at simplistix.co.uk> wrote:
>> I assume most packages Reinout uses (like all zope.* packages) use
>> namespace packages. So they actually do depend during runtime on the
>> pkg_resources module, which happens to be available from either the
>> distribute  or setuptools distribution. So one of them should be
>> specified in install_requires.
>
> This functionality should be factored out and merged with pkgutil in
> the standard library.

Sure. That's what http://www.python.org/dev/peps/pep-0382 is about.

But both Python 2.7 and 3.2 are a bit into the future, so it doesn't
help with the current question.

Hanno


More information about the Distutils-SIG mailing list