summaryrefslogtreecommitdiffstats
path: root/src/script/scons.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-07-18 17:52:21 (GMT)
committerSteven Knight <knight@baldmt.com>2003-07-18 17:52:21 (GMT)
commita7405b2115ba873ade35ebf16ade8736548b9a99 (patch)
treece8cd516e0efe27115c4b199a430fa890aca4f47 /src/script/scons.py
parenta9f60545d3546413077ef9b9a78b5337b57c8399 (diff)
downloadSCons-a7405b2115ba873ade35ebf16ade8736548b9a99.zip
SCons-a7405b2115ba873ade35ebf16ade8736548b9a99.tar.gz
SCons-a7405b2115ba873ade35ebf16ade8736548b9a99.tar.bz2
Add a script to print .sconsign file contents.
Diffstat (limited to 'src/script/scons.py')
-rw-r--r--src/script/scons.py17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/script/scons.py b/src/script/scons.py
index f128d1d..501f071 100644
--- a/src/script/scons.py
+++ b/src/script/scons.py
@@ -36,9 +36,18 @@ __date__ = "__DATE__"
__developer__ = "__DEVELOPER__"
-import sys
-import os.path
import os
+import os.path
+import sys
+
+##############################################################################
+# BEGIN STANDARD SCons SCRIPT HEADER
+#
+# This is the cut-and-paste logic so that a self-contained script can
+# interoperate correctly with different SCons versions and installation
+# locations for the engine. If you modify anything in this section, you
+# should also change other scripts that use this same header.
+##############################################################################
# Strip the script directory from sys.path() so on case-insensitive
# (WIN32) systems Python doesn't think that the "scons" script is the
@@ -120,5 +129,9 @@ libs.extend(map(lambda x: os.path.join(x, 'scons'), prefs))
sys.path = libs + sys.path
+##############################################################################
+# END STANDARD SCons SCRIPT HEADER
+##############################################################################
+
import SCons.Script
SCons.Script.main()