[Distutils] installing both packages and (sometimes) modules

Anthony Baxter anthony@interlink.com.au
Mon Jan 13 01:12:01 2003

For the spambayes project, I have a distutils setup that installs
the 'spambayes' package. I also (for 2.2) want it to install copies
of 'sets.py' and 'heapq.py' modules into site-packages. Unfortunately
distutils will let me have a 'packages' line, or a 'py_modules' line,
but not both. Is there an easy way to do this that doesn't involve 
subclassing a distutils command?

Anthony Baxter     <anthony@interlink.com.au>
It's never too late to have a happy childhood.