Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Gregory Ewing Newsgroups: comp.lang.python Subject: Re: Merge multiple source directories into one package with distutils? Date: Thu, 12 May 2011 10:50:23 +1200 Lines: 29 Message-ID: <930i5iFas9U1@mid.individual.net> References: <4228410e-4631-47be-936c-041122f27ffb@glegroupsg2000goo.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net puAU49DS0eU/blMC3uri0gVc9xFznUM111BgVh0ey58NjGbWAq Cancel-Lock: sha1:E2C9je78s3e1DlzoxVzj5wwZNZ8= User-Agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711) X-Accept-Language: en-us, en In-Reply-To: <4228410e-4631-47be-936c-041122f27ffb@glegroupsg2000goo.googlegroups.com> Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5173 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