[Distutils] building with static dependencies

Chris Withers chris at simplistix.co.uk
Fri Apr 30 14:58:18 CEST 2010

Sridhar Ratnakumar wrote:
> Similar to "STATICDEPS=True python setup.py bdist_egg" in lxml?

If that lets me build and egg that I can then shove onto another box of 
the same OS and install with easy_install without installing any other 
dependencies, then yes, sure :-)

> and build atlas yourself on linux. 

Is there really no simpler way than following the huge and convolute 
process described here:


> In both cases, setup.cfg has to be modified to point to these ATLAS libraries. ATLAS will be statically linked.

...which is why I guess you can't rely on the operating system supplied 
ATLAS libraries if you want them to be statically linked?

> To statically link libgfortran: on Mac, take a look at the libgfotran.a copying hack in pavement.py (scipy trunk); on Linux, I haven't yet figured out a way to reliably link libgfortran statically to numpy.]]

We're on Windows, Linux and maybe Mac...



More information about the Distutils-SIG mailing list