[Scons-users] Add python version to output of scons --version?

Bill Deegan bill at baddogconsulting.com
Wed Mar 21 12:33:06 EDT 2018


Greetings,

I'm thinking given that we're supporting py2.7 and 3.5+ it's probably
valuable to add outputting the python version in the output from scons
--version.

Something like:
python ~/devel/scons/git/scons-bugfixes/src/script/scons.py --version
SCons by Steven Knight et al.:
    script: v__VERSION__.__BUILD__, __DATE__, by __DEVELOPER__ on
__BUILDSYS__
    engine: v__VERSION__.__BUILD__, __DATE__, by __DEVELOPER__ on
__BUILDSYS__
    engine path:
['/Users/bdbaddog/devel/scons/git/scons-bugfixes/src/script/../engine/SCons']
    python version: 2.7.14
or
    python version: 2.7.14 (default, Sep 22 2017, 00:06:07) \n[GCC 4.2.1
Compatible Apple LLVM 8.1.0 (clang-802.0.42)]
__COPYRIGHT__


Any thoughts?



-Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20180321/d88f65f6/attachment.html>


More information about the Scons-users mailing list