diff options
author | David Robillard <d@drobilla.net> | 2018-09-16 14:44:19 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-16 14:44:19 +0200 |
commit | e677c3cc08cfd1574875b309fde6fc52f726f51c (patch) | |
tree | 2374025d2a119a0941d8562be1f164e31260da6f | |
parent | 0cd8cd870e00da2b7968c0bed15da7d597435dfe (diff) | |
download | raul-e677c3cc08cfd1574875b309fde6fc52f726f51c.tar.gz raul-e677c3cc08cfd1574875b309fde6fc52f726f51c.tar.bz2 raul-e677c3cc08cfd1574875b309fde6fc52f726f51c.zip |
Clean up wscript
-rw-r--r-- | wscript | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |