aboutsummaryrefslogtreecommitdiff
path: root/meson.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson.py')
-rwxr-xr-xmeson.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.py b/meson.py
index f09cb18..4b08a44 100755
--- a/meson.py
+++ b/meson.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Copyright 2012 Jussi Pakkanen
+# Copyright 2012-2014 Jussi Pakkanen
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -21,11 +21,11 @@ import environment, interpreter
import backends, build
import mlog, coredata
-from coredata import version, MesonException
+from coredata import MesonException
usage_info = '%prog [options] source_dir build_dir'
-parser = OptionParser(usage=usage_info, version=version)
+parser = OptionParser(usage=usage_info, version=coredata.version)
build_types = ['plain', 'debug', 'optimized']
buildtype_help = 'build type, one of: %s' % ', '.join(build_types)