| OLD | NEW |
| 1 #! /usr/bin/env python | 1 #! /usr/bin/env python |
| 2 # | 2 # |
| 3 # SCons - a Software Constructor | 3 # SCons - a Software Constructor |
| 4 # | 4 # |
| 5 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundat
ion | 5 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundat
ion |
| 6 # | 6 # |
| 7 # Permission is hereby granted, free of charge, to any person obtaining | 7 # Permission is hereby granted, free of charge, to any person obtaining |
| 8 # a copy of this software and associated documentation files (the | 8 # a copy of this software and associated documentation files (the |
| 9 # "Software"), to deal in the Software without restriction, including | 9 # "Software"), to deal in the Software without restriction, including |
| 10 # without limitation the rights to use, copy, modify, merge, publish, | 10 # without limitation the rights to use, copy, modify, merge, publish, |
| 11 # distribute, sublicense, and/or sell copies of the Software, and to | 11 # distribute, sublicense, and/or sell copies of the Software, and to |
| 12 # permit persons to whom the Software is furnished to do so, subject to | 12 # permit persons to whom the Software is furnished to do so, subject to |
| 13 # the following conditions: | 13 # the following conditions: |
| 14 # | 14 # |
| 15 # The above copyright notice and this permission notice shall be included | 15 # The above copyright notice and this permission notice shall be included |
| 16 # in all copies or substantial portions of the Software. | 16 # in all copies or substantial portions of the Software. |
| 17 # | 17 # |
| 18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | 18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY |
| 19 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | 19 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE |
| 20 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | 20 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 21 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | 21 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
| 22 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | 22 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
| 23 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | 23 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
| 24 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 24 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 25 # | 25 # |
| 26 | 26 |
| 27 __revision__ = "src/script/scons.py 3603 2008/10/10 05:46:45 scons" | 27 __revision__ = "src/script/scons.py 3842 2008/12/20 22:59:52 scons" |
| 28 | 28 |
| 29 __version__ = "1.1.0" | 29 __version__ = "1.2.0" |
| 30 | 30 |
| 31 __build__ = "r3603" | 31 __build__ = "r3842" |
| 32 | 32 |
| 33 __buildsys__ = "scons-dev" | 33 __buildsys__ = "scons-dev" |
| 34 | 34 |
| 35 __date__ = "2008/10/10 05:46:45" | 35 __date__ = "2008/12/20 22:59:52" |
| 36 | 36 |
| 37 __developer__ = "scons" | 37 __developer__ = "scons" |
| 38 | 38 |
| 39 import os | 39 import os |
| 40 import os.path | 40 import os.path |
| 41 import sys | 41 import sys |
| 42 | 42 |
| 43 ############################################################################## | 43 ############################################################################## |
| 44 # BEGIN STANDARD SCons SCRIPT HEADER | 44 # BEGIN STANDARD SCons SCRIPT HEADER |
| 45 # | 45 # |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 libs.extend(map(lambda x: os.path.join(x, 'scons'), prefs)) | 153 libs.extend(map(lambda x: os.path.join(x, 'scons'), prefs)) |
| 154 | 154 |
| 155 sys.path = libs + sys.path | 155 sys.path = libs + sys.path |
| 156 | 156 |
| 157 ############################################################################## | 157 ############################################################################## |
| 158 # END STANDARD SCons SCRIPT HEADER | 158 # END STANDARD SCons SCRIPT HEADER |
| 159 ############################################################################## | 159 ############################################################################## |
| 160 | 160 |
| 161 if __name__ == "__main__": | 161 if __name__ == "__main__": |
| 162 import SCons.Script | 162 import SCons.Script |
| 163 # this does all the work, and calls sys.exit |
| 164 # with the proper exit status when done. |
| 163 SCons.Script.main() | 165 SCons.Script.main() |
| OLD | NEW |