Merge multiple source directories into one package with distutils?
Gregory Ewing
greg.ewing at canterbury.ac.nz
Wed May 11 18:50:23 EDT 2011
Miki Tebeka wrote:
> .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
Unless I'm missing something, nothing out of the ordinary is
happening there. Each destination directory is getting .py
files from just one source directory.
I'm not talking about a package with multiple submodules,
I know how to do that. I'm talking about putting .py files
from more than one source directory into the same intallation
directory.
E.g. Source:
stuff/__init__.py
stuff/dir1/foo.py
stuff/dir2/blarg.py
Installation:
stuff/__init__.py
stuff/foo.py
stuff/blarg.py
--
Greg
More information about the Python-list
mailing list