[Scons-users] Scons based build for cpython

Antonio Cavallo a.cavallo at cavallinux.eu
Sun Jun 9 17:35:15 EDT 2013


Hi,

I've been putting together a scons based build system for cpython:
I always wondered why and if it is possible to do that in scons.

The source code is under:

https://bitbucket.org/cavallo71/fatpython

To test against the lasted cpython source all you have to do is:

Be sure you have the 2.7 python interpreter (it might work with other versions

$> hg clone http://hg.python.org/cpython
$> cd cpython
$> hg clone https://bitbucket.org/cavallo71/fatpython

$> . ./fatpython/env.sh (on Linux and Mac)
or
$> .\fatpython\env.bat (on Windows)

$> scons

This will build the python interpreter + pgen and a single module (_bz2).

The build works in linux and mac while the windows is not ready yet: I need to
have access to visual studio 2008 to convert the project into something usable
with scons.


Please let me know what do you thing.

Thanks




More information about the Scons-users mailing list