[Distutils] Ability to override location of build/ dir while creating a .egg
Venkat Bommakanti
venkatbo at yahoo.com
Sun Mar 11 23:23:07 CET 2007
Hi folks,
'am working on a TurboGears1.0-based app that I need
deploy as a .egg. 'am using setuptools-0.6c3...
TG apps have a basic structure like:
app-top/
setup.py
app/
config/
controllers/
...
app-egg-info/
...
>From
app-top/
when I run:
python setup.py bdist_egg -b tmp<tgt>dir/distdir/
-d tmp<tgt>dir/
I can see:
app-top/
setup.py
tmp<tgt>dir/
app.egg
...
build/
...
after successful .egg creation. While there is no
issue with that process, I noticed that it places
the temporary
build/
directory at the level of tmp<tgt>dir itself. Is
there a way to specify the location of this
temporary build/ directory ?
Looked in the online docs, but no way to specify
that. The reason I ask, is that our nightly build
system builds both a <tgt>=i686 and <tgt>=ppc
version of my app and there could be a potential
conflict for both these versions if it just so
happens that one target-build overwrites the
other... at the same time.
If I could specify the build/ path, I could have
something like:
app-top/
setup.py
tmp<tgt>dir/
app.egg
build/
...
...
...
and avoid issues of simulataneous diff-<tgt> builds.
Thanks much,
/venkat
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265
More information about the Distutils-SIG
mailing list