Lines Matching refs:base_path
133 def _setup_top_level_symlink(base_path): argument
135 if os.path.islink(os.path.join(base_path, 'autotest_lib')):
137 os.chdir(base_path)
141 def _setup_client_symlink(base_path): argument
154 autotest_lib_dir = os.path.join(base_path, 'autotest_lib')
180 def _symlink_check(base_path, root_dir): argument
185 _setup_top_level_symlink(base_path)
187 _setup_client_symlink(base_path)
192 def setup(base_path, root_module_name): argument
193 _symlink_check(base_path, root_module_name)
197 _insert_site_packages(base_path)
202 _setup_autotest_lib(base_path)
203 _preimport_top_level_packages(os.path.join(base_path, 'autotest_lib'),
206 if os.path.exists(os.path.join(os.path.dirname(base_path), 'server')):
210 autotest_base_path = os.path.dirname(base_path)
213 autotest_base_path = base_path