1# Copyright (c) 2013 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# This is a common boiler-plate module that is used to set up autotest_lib into
6# the PYTHONPATH. It should be copied into every deps directory.
7
8import os, sys
9dirname = os.path.dirname(sys.modules[__name__].__file__)
10client_dir = os.path.abspath(os.path.join(dirname, "..", ".."))
11sys.path.insert(0, client_dir)
12import setup_modules
13sys.path.pop(0)
14setup_modules.setup(base_path=client_dir,
15                    root_module_name="autotest_lib.client")
16