Using SCons as a build engine for distutils
Posted
by pygabriel
on Stack Overflow
See other posts from Stack Overflow
or by pygabriel
Published on 2010-04-13T07:33:35Z
Indexed on
2010/04/13
9:23 UTC
Read the original article
Hit count: 477
I have a python package with some C code needed to build an extension (with some non-trivial building needs). I have used SCons as my build system because it's really good and flexible.
I'm looking for a way to compile my python extensions with SCons ready to be distributed with distutils. I want that the user simply types setup.py install and get the extension compiled with SCons instead of the default distutils build engine.
An idea that comes to mind is to redefine build_ext command in distutils, but I can't find extensive documentation for it.
Any suggestion?
© Stack Overflow or respective owner