From e677c3cc08cfd1574875b309fde6fc52f726f51c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 16 Sep 2018 14:44:19 +0200 Subject: Clean up wscript --- wscript | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wscript b/wscript index 4a88391..d5f6b03 100644 --- a/wscript +++ b/wscript @@ -1,8 +1,10 @@ #!/usr/bin/env python + import os import subprocess -import waflib.Options as Options -import waflib.extras.autowaf as autowaf + +from waflib import Options +from waflib.extras import autowaf # Version of this package (even if built as a child) RAUL_VERSION = '0.8.10' @@ -52,12 +54,10 @@ def configure(conf): # TODO: Version includes and use autowaf.set_lib_env() here conf.env['INCLUDES_RAUL'] = [os.path.abspath(top) + '/raul'] - autowaf.define(conf, 'RAUL_VERSION', RAUL_VERSION) conf.write_config_header('raul_config.h', remove=False) - autowaf.display_summary(conf) - autowaf.display_msg(conf, "Unit tests", bool(conf.env.BUILD_TESTS)) - print('') + autowaf.display_summary(conf, + {'Unit tests': bool(conf.env.BUILD_TESTS)}) tests = ''' test/array_test -- cgit v1.2.1