From a11688641cc2a7f2c0a47ee9fc91af5768dd8b22 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Sun, 4 Sep 2016 15:29:00 +0300 Subject: update waf to version 1.9.3 & update building scripts to support Ubuntu16 & Python3 --- linux/ws_main.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'linux/ws_main.py') diff --git a/linux/ws_main.py b/linux/ws_main.py index b1704e5e..b843fcb5 100755 --- a/linux/ws_main.py +++ b/linux/ws_main.py @@ -9,7 +9,6 @@ VERSION='0.0.1' APPNAME='cxx_test' import os; -import commands; import shutil; import copy; from distutils.version import StrictVersion @@ -76,8 +75,8 @@ def verify_cc_version (env): ver = '.'.join(env['CC_VERSION']) if StrictVersion(ver) < REQUIRED_CC_VERSION: - print "\nMachine GCC version too low '{0}' - required at least '{1}'".format(ver, REQUIRED_CC_VERSION) - print "\n*** please set a compiler using CXX / AR enviorment variables ***\n" + print("\nMachine GCC version too low '{0}' - required at least '{1}'".format(ver, REQUIRED_CC_VERSION)) + print( "\n*** please set a compiler using CXX / AR enviorment variables ***\n") exit(-1) @@ -425,7 +424,7 @@ def build_type(bld,build_obj): def post_build(bld): - print "copy objects" + print("copy objects") exec_p ="../scripts/" -- cgit 1.2.3-korg