OLD | NEW |
1 @echo off | 1 @echo off |
2 rem = """ | 2 rem = """ |
3 :: Copyright 2014 Google Inc. | 3 :: Copyright 2014 Google Inc. |
4 :: | 4 :: |
5 :: Licensed under the Apache License, Version 2.0 (the "License"); | 5 :: Licensed under the Apache License, Version 2.0 (the "License"); |
6 :: you may not use this file except in compliance with the License. | 6 :: you may not use this file except in compliance with the License. |
7 :: You may obtain a copy of the License at | 7 :: You may obtain a copy of the License at |
8 :: | 8 :: |
9 :: http://www.apache.org/licenses/LICENSE-2.0 | 9 :: http://www.apache.org/licenses/LICENSE-2.0 |
10 :: | 10 :: |
11 :: Unless required by applicable law or agreed to in writing, software | 11 :: Unless required by applicable law or agreed to in writing, software |
12 :: distributed under the License is distributed on an "AS IS" BASIS, | 12 :: distributed under the License is distributed on an "AS IS" BASIS, |
13 :: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 13 :: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 :: See the License for the specific language governing permissions and | 14 :: See the License for the specific language governing permissions and |
15 :: limitations under the License. | 15 :: limitations under the License. |
16 | 16 |
17 python -x "%~f0" %* | 17 python -x "%~f0" %* |
18 exit /b %ERRORLEVEL% | 18 exit /b %ERRORLEVEL% |
19 goto endofPython """ | 19 goto endofPython """ |
20 | 20 |
21 import sys | 21 import sys |
22 import os | 22 import os |
23 | 23 |
24 # Prepend the eggs we need to our python path. | 24 # Prepend the eggs we need to our python path. |
25 _EGGS = [ | 25 _EGGS = [ |
26 'Benchmark_Chrome-0.1_r1825-py2.6.egg', | 26 'Benchmark_Chrome-0.1_r2027-py2.6.egg', |
27 'ETW-0.6.5.0-py2.6.egg', | 27 'ETW-0.6.5.0-py2.6.egg', |
28 'ETW_Db-0.1_r1543-py2.6.egg', | 28 'ETW_Db-0.1_r2024-py2.6.egg', |
29 'setuptools-0.6c11-py2.6.egg', | 29 'setuptools-0.6c11-py2.6.egg', |
30 ] | 30 ] |
31 dir = os.path.dirname(__file__) | 31 dir = os.path.dirname(__file__) |
32 sys.path[0:0] = [os.path.join(dir, egg) for egg in _EGGS] | 32 sys.path[0:0] = [os.path.join(dir, egg) for egg in _EGGS] |
33 | 33 |
34 # And run the main program. | 34 # And run the main program. |
35 import profile | 35 import profile |
36 sys.exit(profile.main()) | 36 sys.exit(profile.main()) |
37 | 37 |
38 rem = """ | 38 rem = """ |
39 :endofPython """ | 39 :endofPython """ |
OLD | NEW |