diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2019-08-23 12:54:33 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2019-08-23 13:29:27 +0200 |
commit | bb75e595893a6003f3dff8c2377146be5e3d092e (patch) | |
tree | 43e7f691539375ac5e1d2c38d8cc756a79807485 /build/mixxx.py | |
parent | ad8cddcb3a40e9ccf9b9897fd72536482fc38073 (diff) |
scons: Print SCons/Python version to make debugging easier
Diffstat (limited to 'build/mixxx.py')
-rw-r--r-- | build/mixxx.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build/mixxx.py b/build/mixxx.py index 55928bb736..3b75d71d2f 100644 --- a/build/mixxx.py +++ b/build/mixxx.py @@ -125,6 +125,15 @@ class MixxxBuild(object): self.bundle_pdbs = self.platform_is_windows and ( self.build_is_debug or Script.ARGUMENTS.get('bundle_pdbs', '') in ('yes', 'y', '1')) + self.scons_version = ( + 'unknown' if SCons.__version__.startswith('__VERSION') + else '%s (%s, %s)' % ( + SCons.__version__, + SCons.__build__, + SCons.__date__, + )) + logging.info("SCons version: %s" % self.scons_version) + logging.info("Python version: %s" % sys.version.replace('\n', '')) logging.info("Target Platform: %s" % self.platform) logging.info("Target Machine: %s" % self.machine) logging.info("Build: %s" % self.build) |