Re: [Distutils] static linking in distutils/setuptools?

2006-01-26 Thread Stefan Seefeld
Bob Ippolito wrote: > While I don't agree with a lot of the design decisions in distutils, > it's plenty extensible. You can plug your own Extension in, just > subclass it. I disagree. An 'Extension' is "Just a collection of attributes that describes an extension module and everyth

Re: [Distutils] Sourceforge changed HTML again...

2006-01-26 Thread Phillip J. Eby
At 08:34 PM 1/26/2006 -0600, Ian Bicking wrote: >So far my experiences downloading this way have been very poor -- it fails >more often than not, often stalling indefinitely. What are other people's >experiences? If my experience is typical, I think it would be better to >go back to the regex

Re: [Distutils] static linking in distutils/setuptools?

2006-01-26 Thread Bob Ippolito
On Jan 26, 2006, at 7:29 PM, Stefan Seefeld wrote: > Phillip J. Eby wrote: > >>> Hopefully setuptools can manage this better. >> >> >> Probably not, as I'm not rewriting build_ext, just wrapping it. > > Is this wrapping transparent ? Or do you present your own command > interfaces, for which the

Re: [Distutils] static linking in distutils/setuptools?

2006-01-26 Thread Stefan Seefeld
Phillip J. Eby wrote: >> Hopefully setuptools can manage this better. > > > Probably not, as I'm not rewriting build_ext, just wrapping it. Is this wrapping transparent ? Or do you present your own command interfaces, for which the current implementation is simply distutils' commands ? One of t

Re: [Distutils] Sourceforge changed HTML again...

2006-01-26 Thread Ian Bicking
Phillip J. Eby wrote: >>>Hi all. Ian Bicking reported an issue with Sourceforge's download process >>>changing again; I've updated setuptools in SVN but haven't made a new >>>release yet. If you need the fixed version, update to the development >>>version via "ez_setup.py setuptools==dev" for now

Re: [Distutils] [Py2exe-users] Re: py2exe and setuptools w/ install_requires

2006-01-26 Thread Chris Lambacher
On Thu, Jan 26, 2006 at 04:23:44PM -0500, Phillip J. Eby wrote: > At 02:58 PM 1/20/2006 -0500, Chris Lambacher wrote: > >When I build my module eggs, I publish them to a directory > >that an http server indexes. I then I have a build script that calls > >'easy_install -m -Z -d tmpdir -f http://mys

Re: [Distutils] static linking in distutils/setuptools?

2006-01-26 Thread Bob Ippolito
On Jan 26, 2006, at 3:29 PM, Robert Kern wrote: > Stefan Seefeld wrote: >> Robert Kern wrote: > >>> Not really, no. In many cases (e.g., GNU ld), there's simply no >>> way to tell the >>> linker that you prefer static libraries to shared libraries when >>> you are >>> building a shared librar

Re: [Distutils] static linking in distutils/setuptools?

2006-01-26 Thread Robert Kern
Stefan Seefeld wrote: > Robert Kern wrote: >>Not really, no. In many cases (e.g., GNU ld), there's simply no way to tell >>the >>linker that you prefer static libraries to shared libraries when you are >>building a shared library like a Python extension. You simply have to make >>sure >>that the

Re: [Distutils] static linking in distutils/setuptools?

2006-01-26 Thread Phillip J. Eby
At 05:05 PM 1/26/2006 -0500, Stefan Seefeld wrote: >I believe this is wrong. The (GNU ld) man pages mention '-Bdynamic' and >'-Bstatic' >as a means to instruct the linker to link to a particular library >dynamically or >statically. (To only link statically to libbar.a you could write e.g. > >...

Re: [Distutils] (extension) module dependencies in setuptools

2006-01-26 Thread Andrew Straw
Phillip J. Eby wrote: > At 11:50 PM 1/23/2006 -0800, Andrew Straw wrote: > >> I would like to propose a feature for setuptools: runtime enforcement of >> dependencies specified at build time by setup.py. I appreciate that >> "pkg_resources.require('foo==1.0')" works, but this requires a tedious >>

Re: [Distutils] static linking in distutils/setuptools?

2006-01-26 Thread Robert Kern
Matthias Urlichs wrote: > Hi, > > Robert Kern: > >>Not really, no. In many cases (e.g., GNU ld), there's simply no way to >>tell the linker that you prefer static libraries to shared libraries >>when you are building a shared library like a Python extension. You >>simply have to make sure that th

Re: [Distutils] static linking in distutils/setuptools?

2006-01-26 Thread Stefan Seefeld
Robert Kern wrote: > Christopher Fonnesbeck wrote: > >>Is there any way to specify static linking to particular libraries when >>building installers with distutils or setuptools? I want to be able to >>include the shared libraries that I am linking to in my builds. I did >>not see any info on t

Re: [Distutils] static linking in distutils/setuptools?

2006-01-26 Thread Matthias Urlichs
Hi, Robert Kern: > Not really, no. In many cases (e.g., GNU ld), there's simply no way to > tell the linker that you prefer static libraries to shared libraries > when you are building a shared library like a Python extension. You > simply have to make sure that the static libraries are found firs

Re: [Distutils] allowing $py_version in ~/.pydistutils.cfg

2006-01-26 Thread Phillip J. Eby
At 12:40 AM 1/26/2006 -0800, Andrew Straw wrote: >Hi, > >Attempting to use variable subsitition in my ~/.pydistutils.cfg file >(which I'd like to use across both Python 2.3 and Python 2.4), I find that > >[install] >prefix=~/py$py_version_short-$PLAT > >works fine > >while the $variables in > >[eas

Re: [Distutils] static linking in distutils/setuptools?

2006-01-26 Thread Robert Kern
Christopher Fonnesbeck wrote: > Is there any way to specify static linking to particular libraries when > building installers with distutils or setuptools? I want to be able to > include the shared libraries that I am linking to in my builds. I did > not see any info on this in the docs. Not re

Re: [Distutils] (extension) module dependencies in setuptools

2006-01-26 Thread Phillip J. Eby
At 11:50 PM 1/23/2006 -0800, Andrew Straw wrote: >I would like to propose a feature for setuptools: runtime enforcement of >dependencies specified at build time by setup.py. I appreciate that >"pkg_resources.require('foo==1.0')" works, but this requires a tedious >update of version numbers in affec

Re: [Distutils] static linking in distutils/setuptools?

2006-01-26 Thread Phillip J. Eby
At 01:48 PM 1/23/2006 -0500, Christopher Fonnesbeck wrote: >Is there any way to specify static linking to particular libraries >when building installers with distutils or setuptools? I want to be >able to include the shared libraries that I am linking to in my >builds. I did not see any info on thi

Re: [Distutils] Setting distutils options from sitecustomize

2006-01-26 Thread Phillip J. Eby
At 12:09 PM 1/23/2006 -0600, Ian Bicking wrote: >Has anyone tried anything that involves setting the distutils options >(e.g., where to install libraries) from sitecustomize or some other >Python location? I want to put in logic that is more complex than can >be expressed in a configuration file.

Re: [Distutils] Sourceforge changed HTML again...

2006-01-26 Thread Phillip J. Eby
At 05:39 PM 1/23/2006 +0100, Ronald Oussoren wrote: >On 23-jan-2006, at 17:31, Phillip J. Eby wrote: >>A little experimentation with the socket module shows that I can >>get the >>full list of mirror IPs from Python, so I've changed setuptools in >>SVN to >>just randomly select one to use, which sh

Re: [Distutils] expected non-zero return values when spawning subprocesses

2006-01-26 Thread Phillip J. Eby
At 08:41 PM 1/20/2006 -0500, Stefan Seefeld wrote: >Hi there, > >I'm using distutils.spawn.spawn() to run subprocesses during my >build commands. It now happens that one of those subprocesses will >return a non-zero value that doesn't strictly correspond to an error, >and thus I'd like to catch it

Re: [Distutils] [Py2exe-users] Re: py2exe and setuptools w/ install_requires

2006-01-26 Thread Phillip J. Eby
At 02:58 PM 1/20/2006 -0500, Chris Lambacher wrote: >When I build my module eggs, I publish them to a directory >that an http server indexes. I then I have a build script that calls >'easy_install -m -Z -d tmpdir -f http://myserver/eggs module' for each module Note that easy_install now supports

[Distutils] allowing $py_version in ~/.pydistutils.cfg

2006-01-26 Thread Andrew Straw
Hi, Attempting to use variable subsitition in my ~/.pydistutils.cfg file (which I'd like to use across both Python 2.3 and Python 2.4), I find that [install] prefix=~/py$py_version_short-$PLAT works fine while the $variables in [easy_install] site_dirs=~/py$py_version_short-$PLAT/lib/python$py