def __init__(self, env, install_dir, project_name, test_cmd, expected_version, easy_install_cmd=("easy_install",)): self._env = env self._install_dir = install_dir self._project_name = project_name self._test_cmd = test_cmd self._expected_version = expected_version self._easy_install_cmd = list(easy_install_cmd) self._install_dir_on_pythonpath = cmd_env.set_environ_vars_env( [("PYTHONPATH", self._install_dir)], env)
def __init__(self, env, install_dir, project_name, test_cmd, expected_version, easy_install_cmd=("easy_install",), python="python"): self._env = env self._install_dir = install_dir self._project_name = project_name self._test_cmd = test_cmd self._expected_version = expected_version self._easy_install_cmd = list(easy_install_cmd) self._python = python self._install_dir_on_pythonpath = cmd_env.set_environ_vars_env( [("PYTHONPATH", self._install_dir)], env)