summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@theqtcompany.com>2015-01-14 14:54:32 +0100
committerAndras Becsi <andras.becsi@theqtcompany.com>2015-01-15 15:11:27 +0100
commit98349dbdd88970ac0274e8d9e5f12dc0e9737bdb (patch)
tree5d05c454918c952626b045fcf4ddb22725b70286
parent0b1e2d59f7545b8ed175660389def694c7bf4506 (diff)
Print only major.minor.micro version of python.
This will avoid printing the compiler version python was built with. Showing the compiler version led to confusion multiple times. Change-Id: I4ced2128b92c83a41f616bcf756f2c313a9caed3 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
-rwxr-xr-xtools/buildscripts/gyp_qtwebengine2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildscripts/gyp_qtwebengine b/tools/buildscripts/gyp_qtwebengine
index 6f2bbc93..970cce54 100755
--- a/tools/buildscripts/gyp_qtwebengine
+++ b/tools/buildscripts/gyp_qtwebengine
@@ -5,7 +5,7 @@ import os
import sys
import subprocess
-print 'using python: ' + sys.executable + ' version: ' + sys.version
+print 'using python: ' + sys.executable + ' version: ' + str(sys.version_info.major) + '.' + str(sys.version_info.minor) + '.' + str(sys.version_info.micro)
if sys.platform == "darwin":
print 'xcode version: ' + subprocess.check_output(['xcodebuild', '-version']).replace('\n', ' ')