From 4e68ce8db186c21c86f1348c10d1f5b1e23a6ff1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 15 Sep 2018 14:04:13 +0200 Subject: Squashed 'waflib/' content from commit 9eb0cf8 git-subtree-dir: waflib git-subtree-split: 9eb0cf856c394d9354a15c606107ca294db406bb --- waf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 waf (limited to 'waf') diff --git a/waf b/waf new file mode 100755 index 0000000..e22930a --- /dev/null +++ b/waf @@ -0,0 +1,16 @@ +#!/usr/bin/env python + +# Minimal waf script for projects that include waflib directly + +from waflib import Context, Scripting + +import inspect +import os + +def main(): + script_path = os.path.abspath(inspect.getfile(inspect.getmodule(main))) + project_path = os.path.dirname(script_path) + Scripting.waf_entry_point(os.getcwd(), Context.WAFVERSION, project_path) + +if __name__ == '__main__': + main() -- cgit v1.2.1