Please note:The SCons wiki is now restored from the attack in March 2013. All old passwords have been invalidated. Please reset your password if you have an account. If you note missing pages, please report them to Also, new account creation is currently disabled due to an ongoing spam flood (2013/08/27).

Ah! We don't really have a defined, public interface for this. We should have. In the meantime, you can use:

import SCons
print SCons.__version__

(Where, of course, you can do whatever you like with the SCons.__version__ string, not just print it.)

If you are looking to ensure a certain version of SCons, use:


You use it thusly: EnsureSConsVersion(0, 96, 93)

Credits: StevenKnight, TaybinRutkin

SconsVersion (last edited 2009-12-13 23:11:58 by mm-127-247-57-86)