OLD | NEW |
1 # Copyright 2013 The Swarming Authors. All rights reserved. | 1 # Copyright 2013 The LUCI Authors. All rights reserved. |
2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed by the Apache v2.0 license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """Configures includes (components.auth). | 5 """Configures includes (components.auth). |
6 | 6 |
7 https://developers.google.com/appengine/docs/python/tools/appengineconfig | 7 https://developers.google.com/appengine/docs/python/tools/appengineconfig |
8 """ | 8 """ |
9 | 9 |
10 import os | 10 import os |
11 | 11 |
(...skipping 25 matching lines...) Expand all Loading... |
37 sys.path.insert( | 37 sys.path.insert( |
38 0, | 38 0, |
39 os.path.normpath(os.path.abspath( | 39 os.path.normpath(os.path.abspath( |
40 os.path.join('..', 'components', 'components', 'third_party')))) | 40 os.path.join('..', 'components', 'components', 'third_party')))) |
41 | 41 |
42 | 42 |
43 if os.__file__[0] != '/': | 43 if os.__file__[0] != '/': |
44 # Hack for smoke tests to pass on Windows. dev_appserver hacks the python | 44 # Hack for smoke tests to pass on Windows. dev_appserver hacks the python |
45 # sys.platform value by setting it to 'linux3' on all platforms. | 45 # sys.platform value by setting it to 'linux3' on all platforms. |
46 hack_windows() | 46 hack_windows() |
OLD | NEW |