diff options
-rw-r--r-- | src/CHANGES.txt | 4 | ||||
-rw-r--r-- | src/engine/SCons/Script/Main.py | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt index a6e8848..cab5b88 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -7,6 +7,10 @@ RELEASE 2.1.0.alpha.yyyymmdd - NEW DATE WILL BE INSERTED HERE + From Gary Oberbrunner: + + - Print the path to the SCons package in scons --version + From Jean-François Colson: - Improve Microsoft Visual Studio Solution generation, and fix diff --git a/src/engine/SCons/Script/Main.py b/src/engine/SCons/Script/Main.py index b4ebb09..e0600bd 100644 --- a/src/engine/SCons/Script/Main.py +++ b/src/engine/SCons/Script/Main.py @@ -801,6 +801,10 @@ def version_string(label, module): module.__developer__, module.__buildsys__) +def path_string(label, module): + path = module.__path__ + return "\t%s path: %s\n"%(label,path) + def _main(parser): global exit_status global this_build_status @@ -1320,6 +1324,7 @@ def main(): # __main__.__version__, hence there is no script version. pass parts.append(version_string("engine", SCons)) + parts.append(path_string("engine", SCons)) parts.append("__COPYRIGHT__") version = ''.join(parts) |