distutils: build scripts as native executables?

Giovanni Bajo raNOsky at deveSPAMler.com
Fri Dec 16 07:46:08 EST 2005


Hello,

am I wrong or isn't there a way in distutils to build (compile/link) a
native executable and install it among the "scripts"? It looks like that
distutils.CCompiler features a link_executable() method, and build_ext.py
has most of the logic needed to track dependencies, include paths and
whatnot, but nothing is exposed at a higher level.

I was going to subclass build_ext and find a way to piggy-back
link_executable() into it instead of link_shared_object(), but I thought I
asked before doing useless / duplicate work.
-- 
Giovanni Bajo





More information about the Python-list mailing list