Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #5111 > unrolled thread
| Started by | Miki Tebeka <miki.tebeka@gmail.com> |
|---|---|
| First post | 2011-05-11 06:15 -0700 |
| Last post | 2011-05-12 10:50 +1200 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
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
| From | Miki Tebeka <miki.tebeka@gmail.com> |
|---|---|
| Date | 2011-05-11 06:15 -0700 |
| Subject | Re: Merge multiple source directories into one package with distutils? |
| Message-ID | <4228410e-4631-47be-936c-041122f27ffb@glegroupsg2000goo.googlegroups.com> |
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@gmail.com> http://pythonwise.blogspot.com
[toc] | [next] | [standalone]
| From | Gregory Ewing <greg.ewing@canterbury.ac.nz> |
|---|---|
| Date | 2011-05-12 10:50 +1200 |
| Message-ID | <930i5iFas9U1@mid.individual.net> |
| In reply to | #5111 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web