From cd531343cafdd74e946b4d7b8bdca687f01be6c9 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 18 Feb 2017 14:35:57 +0000 Subject: [PATCH] show more build information: 64 vs 32 bit and build time git-svn-id: https://xpra.org/svn/Xpra/trunk@15115 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/scripts/config.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/xpra/scripts/config.py b/src/xpra/scripts/config.py index 150bdba2ce..875a12c4fe 100755 --- a/src/xpra/scripts/config.py +++ b/src/xpra/scripts/config.py @@ -212,14 +212,17 @@ def get_build_info(): except Exception as e: warn("Error: could not find the source information: %s" % e) try: - from xpra.build_info import BUILT_BY, BUILT_ON, BUILD_DATE, CYTHON_VERSION, COMPILER_VERSION #@UnresolvedImport - info.append("Built on %s by %s" % (BUILT_ON, BUILT_BY)) - if BUILD_DATE: - info.append(BUILD_DATE) + from xpra.build_info import BUILT_BY, BUILT_ON, BUILD_DATE, BUILD_TIME, BUILD_BIT, CYTHON_VERSION, COMPILER_VERSION #@UnresolvedImport + if BUILD_BIT: + info.insert(0, "") + info.insert(0, BUILD_BIT) + info.append("built on %s by %s" % (BUILT_ON, BUILT_BY)) + if BUILD_DATE and BUILD_TIME: + info.append("%s %s" % (BUILD_DATE, BUILD_TIME)) if CYTHON_VERSION!="unknown" or COMPILER_VERSION!="unknown": info.append("") if CYTHON_VERSION!="unknown": - info.append("built with Cython %s" % CYTHON_VERSION) + info.append("using Cython %s" % CYTHON_VERSION) if COMPILER_VERSION!="unknown": cv = COMPILER_VERSION.replace("Optimizing Compiler Version", "Optimizing Compiler\nVersion") info += cv.splitlines()