Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5173

Re: Merge multiple source directories into one package with distutils?

From Gregory Ewing <greg.ewing@canterbury.ac.nz>
Newsgroups comp.lang.python
Subject Re: Merge multiple source directories into one package with distutils?
Date 2011-05-12 10:50 +1200
Message-ID <930i5iFas9U1@mid.individual.net> (permalink)
References <4228410e-4631-47be-936c-041122f27ffb@glegroupsg2000goo.googlegroups.com>

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Merge multiple source directories into one package with distutils? Miki Tebeka <miki.tebeka@gmail.com> - 2011-05-11 06:15 -0700
  Re: Merge multiple source directories into one package with distutils? Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-05-12 10:50 +1200

csiph-web