Building things with setup.py
James Stroud
jstroud at mbi.ucla.edu
Fri Sep 22 16:19:49 EDT 2006
Robert Kern wrote:
> James Stroud wrote:
>
>> Well I added those arguments to $LDFLAGS, but it seemed like a pretty
>> miserable hack, especially the "-shared" part.
>
>
> Hmmm. Did you have $LDFLAGS set to anything (or more likely, nothing)
> before? I.e. did you have something like this?
>
> export LDFLAGS=""
> python setup.py build
>
> If such environment variables are present, I think that numpy.distutils
> may clobber the values that are inferred from the configuration.
>
Didn't see this message last night.
No, my $LDFLAGS were set. I haven't tried unsetenv'ing them (I use tcsh
as a consequence of my anti-bash religious upbringing).
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
More information about the Python-list
mailing list