[Distutils] Multi-distribution distributions

M.-A. Lemburg mal@lemburg.com
Fri Jan 5 02:16:06 2001

Paul Prescod wrote:
> I'm somewhat surprised by the fact that some distributions (e.g. Numpy,
> Zodb) have multiple setup.py programs. As far as I know, these
> setup.py's do not share information so there is no way to do a
> bdist_wininst or bdist_rpm that builds a single distribution for these
> multiple sub-packages.
> I see this as a fairly large problem! The bdist_ functions are an
> important part of Distutils functionality.

I don't think I understand your question: do you want a single
setup.py to call all the other setup.py files similar to a
recursive Makefile ?

I'd be interested to hear how the other packagers deal with
multiple subpackages, since I am planning to start in the
same direction with my mx utils. There will be a base installation
and multiple optional subpackages, but I'm currently unsure
how to split up the task -- it could either be done using
a setup.py which takes extra options (for choosing the
subpackages in question) or by having multiple setup.py
files (one for the base set and then one for each optional

Thoughts ?

Marc-Andre Lemburg
Company:                                        http://www.egenix.com/
Consulting:                                    http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/