aboutsummaryrefslogtreecommitdiff
path: root/meson.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-01-05 21:36:25 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-01-05 21:36:25 +0200
commita44b6c4038f1c197d9b61fb92ff1a7fb21eb38a8 (patch)
tree5047dde6ec7771ccb8960a3eb08443daa7332c0f /meson.py
parent8b56f3596319682e095f7d9f43f468caee84b904 (diff)
downloadmeson-a44b6c4038f1c197d9b61fb92ff1a7fb21eb38a8.zip
meson-a44b6c4038f1c197d9b61fb92ff1a7fb21eb38a8.tar.gz
meson-a44b6c4038f1c197d9b61fb92ff1a7fb21eb38a8.tar.bz2
Start work on command line conf tool.
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)