summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Holth <dholth@fastmail.fm>2016-06-17 02:46:03 (GMT)
committerDaniel Holth <dholth@fastmail.fm>2016-06-17 02:46:03 (GMT)
commitd31cff4a15d3adf3842826c3af8317a2ba050038 (patch)
treef1be21f2d0a35158a3398ab3d5992cabf61502a0 /src
parentf8fbe351d2677bc2e4e3094e905c579825c1582a (diff)
downloadSCons-d31cff4a15d3adf3842826c3af8317a2ba050038.zip
SCons-d31cff4a15d3adf3842826c3af8317a2ba050038.tar.gz
SCons-d31cff4a15d3adf3842826c3af8317a2ba050038.tar.bz2
add __main__.py for 'python -m SCons'
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/__main__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/SCons/__main__.py b/src/engine/SCons/__main__.py
new file mode 100644
index 0000000..5a3aadb
--- /dev/null
+++ b/src/engine/SCons/__main__.py
@@ -0,0 +1,5 @@
+if __name__ == "__main__":
+ import SCons.Script
+ # this does all the work, and calls sys.exit
+ # with the proper exit status when done.
+ SCons.Script.main()