1import os, sys
2dirname = os.path.dirname(sys.modules[__name__].__file__)
3client_dir = os.path.abspath(os.path.join(dirname, "..", "..", ".."))
4sys.path.insert(0, client_dir)
5import setup_modules
6sys.path.pop(0)
7setup_modules.setup(base_path=client_dir,
8                    root_module_name="autotest_lib.client")
9