From: <sv...@ww...> - 2005-12-03 18:04:36
|
Author: mkrose Date: 2005-12-03 10:04:29 -0800 (Sat, 03 Dec 2005) New Revision: 1704 Modified: trunk/CSP/csp/tools/build.py trunk/CSP/csp/tools/pyrun trunk/CSP/csp/tools/trace trunk/CSP/csp/tools/undiff Log: Fixup import paths and shebangs. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1704 Modified: trunk/CSP/csp/tools/build.py =================================================================== --- trunk/CSP/csp/tools/build.py 2005-12-03 18:03:36 UTC (rev 1703) +++ trunk/CSP/csp/tools/build.py 2005-12-03 18:04:29 UTC (rev 1704) @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Copyright 2004 Mark Rose <mk...@us...> # # This program is free software; you can redistribute it and/or modify Modified: trunk/CSP/csp/tools/pyrun =================================================================== --- trunk/CSP/csp/tools/pyrun 2005-12-03 18:03:36 UTC (rev 1703) +++ trunk/CSP/csp/tools/pyrun 2005-12-03 18:04:29 UTC (rev 1704) @@ -1,5 +1,5 @@ -#!/usr/bin/python -# +#!/usr/bin/env python + # Copyright 2004 Mark Rose <mk...@us...> # # This program is free software; you can redistribute it and/or modify @@ -37,13 +37,13 @@ import zipfile from modulefinder import ModuleFinder -from CSP.base import app +from csp.base import app ENTRY_MODULE = '__pyrun__' -DEFAULT_STUB = ("python2.3 -c \"" +DEFAULT_STUB = ("python -c \"" "import sys;" "sys.path.insert(0, '$0');" "sys.argv[0]='$0';" Modified: trunk/CSP/csp/tools/trace =================================================================== --- trunk/CSP/csp/tools/trace 2005-12-03 18:03:36 UTC (rev 1703) +++ trunk/CSP/csp/tools/trace 2005-12-03 18:04:29 UTC (rev 1704) @@ -1,5 +1,5 @@ -#!/usr/bin/python -# +#!/usr/bin/env python + # Copyright 2004 Mark Rose <mk...@us...> # # This program is free software; you can redistribute it and/or modify @@ -15,7 +15,6 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -#!/usr/bin/python """ Decode SimData stack traces under GNU/Linux. @@ -48,7 +47,7 @@ import re import os.path -from CSP.base import app +from csp.base import app re_trace = re.compile(r'([0-9A-Fa-f]{8})\s+([0-9A-Fa-f]{8})\s+([0-9A-Fa-f]{8})\s+(\S+)\s*(\S*)') Modified: trunk/CSP/csp/tools/undiff =================================================================== --- trunk/CSP/csp/tools/undiff 2005-12-03 18:03:36 UTC (rev 1703) +++ trunk/CSP/csp/tools/undiff 2005-12-03 18:04:29 UTC (rev 1704) @@ -36,7 +36,7 @@ import sys import os -from CSP.base import app +from csp.base import app app.addOption('--output1', metavar='PATH', default='', help='output path for original file') |