Compiling Fortran code for Python module

Michael Dickens michaelld at macports.org
Fri May 3 05:42:32 PDT 2013


I'm talking about the Python distutils and related code, which are used
by most py-* ports via the top-level setup.py script.  numpy uses these,
and also augments them.  scipy uses numpy's augmented Python build
scripts.  In these scripts, if you track  through them enough, you'll
find the overwrite versus augment depending on the flag type.  It looks
like the specific port you're referring to does not use these scripts as
heavily as some others -- maybe it instead mixes these Python scripts
with standard Makefiles? - MLD

On Thu, May 2, 2013, at 10:34 PM, Joshua Root wrote:
> Interesting. Although, LDSHARED is defined like this in config/Makefile:
> 
> LDSHARED=       $(CC) -bundle -undefined dynamic_lookup $(LDFLAGS)
> 
> so you'd think setting LDFLAGS wouldn't affect those initial flags.


More information about the macports-dev mailing list