[Distutils] packages and modules together

Fred L. Drake, Jr. fdrake@acm.org
Thu Feb 27 16:10:03 2003


Here's a topic that's come up before.

Distutils does not currently support having both packages and modules
in the same call to distutils.core.setup().  While this is probably
fine for many projects, others have been bitten by it; Anthony Baxter
asked about this just last month:

http://mail.python.org/pipermail/distutils-sig/2003-January/003151.html

We're increasingly using distutils with Zope, and would like to make
our use of it as "clean" as possible.  The current setup script I'm
working with has to call distutils.core.setup() three times, which is
just too many for me.  Some of this can probably be improved by
adjusting more of the provided knobs more carefully, but the simple
use of both modules and packages seems like aviodable pain.

Is there any reason not to support both in the distutils core
directly?  While the limitation can be worked around, it seems
gratuitous, and shouldn't need the extra machinations.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation