1# Copyright (c) 2011 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
5import os, sys
6import setup_modules
7
8dirname = os.path.dirname(sys.modules[__name__].__file__)
9client_dir = os.path.abspath(os.path.join(dirname, "..", ".."))
10sys.path.insert(0, client_dir)
11sys.path.pop(0)
12setup_modules.setup(base_path=client_dir,
13                    root_module_name="autotest_lib.client")
14