Re: [Distutils] shebang line modified by setuptools

2008-04-18 Thread Ben Finney
Floris Bruynooghe <[EMAIL PROTECTED]> writes: > I think it would be really good if we could agree on a simple > solution for this problem. However I haven't really seen an > agreement come out of this thread. So far what (I think) some > proposed solutions are: > > 1 Have a different path in /usr

Re: [Distutils] [zc.buildout] Accessing part configuration from other recipe?

2008-04-18 Thread Jim Fulton
On Apr 18, 2008, at 2:45 PM, Andreas Jung wrote: > is it possible to get hold of the buildout configuration of part A > from within the recipe configured for part B? Yes. The __init__ method of a recipe can read other section options using buildout[section_name][option_name]. Note that any d

[Distutils] [zc.buildout] Accessing part configuration from other recipe?

2008-04-18 Thread Andreas Jung
Hi, is it possible to get hold of the buildout configuration of part A from within the recipe configured for part B? Usecase: the configuration of part A should work as blueprint for actions performed through the recipe configured for part B. Andreas pgp2MssMhH5Kh.pgp Description: PGP signa

Re: [Distutils] zip_safe=False not being respected? [it gets worse]

2008-04-18 Thread Phillip J. Eby
At 12:02 PM 4/18/2008 -0400, Alexander Michael wrote: >On Fri, Apr 18, 2008 at 10:38 AM, Chris Withers ><[EMAIL PROTECTED]> wrote: > > Alexander Michael wrote: > > > > > By default, setuptools enabled setup.py's install eggs (either zipped > > > or unzipped) so that you can multiple version instal

Re: [Distutils] zip_safe=False not being respected? [it gets worse]

2008-04-18 Thread Alexander Michael
On Fri, Apr 18, 2008 at 10:38 AM, Chris Withers <[EMAIL PROTECTED]> wrote: > Alexander Michael wrote: > > > By default, setuptools enabled setup.py's install eggs (either zipped > > or unzipped) so that you can multiple version installed (but only one > > active, of course). If you want to install

Re: [Distutils] zip_safe=False not being respected?

2008-04-18 Thread Chris Withers
Jim Fulton wrote: > >> What platform? --home is ignored on windows. > > Sorry, I didn't read your note carefully enough. > > --home says to use a unix-style layout rooted at the given directory. > > I believe you want --install-lib python2.4 setup.py install --install-lib=$INSTANCE/lib/python

Re: [Distutils] programatically making eggs

2008-04-18 Thread David Pratt
Your right, Tarek. This is much more sane. Many thanks for the advice. Regards, David Tarek Ziadé wrote: > On Fri, Apr 18, 2008 at 3:11 PM, David Pratt <[EMAIL PROTECTED]> wrote: >> It looks like what I should be doing is subclassing Command from >> setuptools, then passing in user options. I'll

Re: [Distutils] programatically making eggs

2008-04-18 Thread Tarek Ziadé
On Fri, Apr 18, 2008 at 3:11 PM, David Pratt <[EMAIL PROTECTED]> wrote: > It looks like what I should be doing is subclassing Command from > setuptools, then passing in user options. I'll be trying a few things > out this way but any additional info would be helpful. Many thanks. or you can use

Re: [Distutils] programatically making eggs

2008-04-18 Thread David Pratt
It looks like what I should be doing is subclassing Command from setuptools, then passing in user options. I'll be trying a few things out this way but any additional info would be helpful. Many thanks. Regards, David David Pratt wrote: > Hi. What would be the best way of programatically making

Re: [Distutils] zip_safe=False not being respected? [it gets worse]

2008-04-18 Thread Alexander Michael
On Fri, Apr 18, 2008 at 6:30 AM, Chris Withers <[EMAIL PROTECTED]> wrote: > Chris Withers wrote: > > Chris Withers wrote: > >> ...however, this is leaving me with an easy-install.pth and a .egg file > >> in $INSTANCE_HOME, > > Okay, so the .egg is actually a directory and not a file. > ...and

Re: [Distutils] zip_safe=False not being respected?

2008-04-18 Thread Jim Fulton
On Apr 18, 2008, at 8:28 AM, Jim Fulton wrote: > > On Apr 18, 2008, at 6:19 AM, Chris Withers wrote: >> Hi All, >> >> I'm trying to install a package into a Zope INSTANCE_HOME with: >> >> python2.4 setup.py install --home=$INSTANCE_HOME >> >> ...however, this is leaving me with an easy-install.pth

Re: [Distutils] zip_safe=False not being respected?

2008-04-18 Thread Jim Fulton
On Apr 18, 2008, at 6:19 AM, Chris Withers wrote: > Hi All, > > I'm trying to install a package into a Zope INSTANCE_HOME with: > > python2.4 setup.py install --home=$INSTANCE_HOME > > ...however, this is leaving me with an easy-install.pth and a .egg > file > in $INSTANCE_HOME, even though the

Re: [Distutils] desirability of multiple, divergent Python instances

2008-04-18 Thread Stephen Waterbury
Ben Finney wrote: > Stephen Waterbury <[EMAIL PROTECTED]> writes: > >> "system Python" -- the Python (and its site-pkgs, etc.) that any >> Python scripts used by the OS depend on, which would of course be >> solely determined by the OS. >> >> This would be distinct, in my proposal, from any packag

Re: [Distutils] zip_safe=False not being respected? [it gets worse]

2008-04-18 Thread Chris Withers
Chris Withers wrote: > Chris Withers wrote: >> ...however, this is leaving me with an easy-install.pth and a .egg file >> in $INSTANCE_HOME, Okay, so the .egg is actually a directory and not a file. ...and in there is lurking the package I'm trying install. Why all this convolution? Why not ins

Re: [Distutils] zip_safe=False not being respected? [correction]

2008-04-18 Thread Chris Withers
Chris Withers wrote: > ...however, this is leaving me with an easy-install.pth and a .egg file > in $INSTANCE_HOME, ...should have been "in $INSTANCE_HOME/lib/python". cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___

[Distutils] zip_safe=False not being respected?

2008-04-18 Thread Chris Withers
Hi All, I'm trying to install a package into a Zope INSTANCE_HOME with: python2.4 setup.py install --home=$INSTANCE_HOME ...however, this is leaving me with an easy-install.pth and a .egg file in $INSTANCE_HOME, even though the package has zip_safe=False in its setup.py. What gives? cheers,

[Distutils] programatically making eggs

2008-04-18 Thread David Pratt
Hi. What would be the best way of programatically making eggs as opposed to python setup.py bdist_egg sdist on the command line. Many thanks. ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig

Re: [Distutils] shebang line modified by setuptools

2008-04-18 Thread Floris Bruynooghe
On Sun, Apr 13, 2008 at 07:59:21AM -0400, Barry Warsaw wrote: > On Apr 12, 2008, at 9:41 PM, Stephen Waterbury wrote: > > > > I used to always set up my own Python[s] in /usr/local > > and put that first in my PATH, but I have gotten lazy lately, and > > sometimes it will bite me. ;) > > On Debian