Hsinyu Chao | 1244cd8 | 2012-05-09 18:14:22 +0800 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | import os, sys |
| 6 | |
| 7 | dirname = os.path.dirname(sys.modules[__name__].__file__) |
| 8 | client_dir = os.path.abspath(os.path.join(dirname, "../../")) |
| 9 | sys.path.insert(0, client_dir) |
| 10 | |
| 11 | import setup_modules |
| 12 | |
| 13 | sys.path.pop(0) |
| 14 | setup_modules.setup(base_path=client_dir, |
| 15 | root_module_name="autotest_lib.client") |