Merge multiple source directories into one package with distutils?

Miki Tebeka miki.tebeka at gmail.com
Wed May 11 09:15:34 EDT 2011


Greg,
> Is there a straightforward way to tell distutils to merge
.py files from more than one source directory into a single
package when installing?
The Selenium Python bindings does something like that, have a look at http://selenium.googlecode.com/svn/trunk/setup.py

The other option is to write some code in setup.py before calling "setup" to do the merge.

HTH
--
Miki Tebeka <miki.tebeka at gmail.com>
http://pythonwise.blogspot.com



More information about the Python-list mailing list