def run_tox(task, version): python = install.python_executable(version) # Create a version of the name that tox will pick up for the correct # interpreter alias. linked_version = os.path.basename(python) + ALIASES[version] try: os.symlink(python, linked_version) except FileExistsError: pass env = dict(os.environ) python = install.python_executable(version) env["PATH"] = os.path.dirname(python) + ":" + env["PATH"] print(env["PATH"]) pip_tool("tox", "-e", task, env=env, cwd=hp.HYPOTHESIS_PYTHON)
def run_tox(task, version): python = install.python_executable(version) # Create a version of the name that tox will pick up for the correct # interpreter alias. linked_version = os.path.basename(python) + ALIASES[version] try: os.symlink(python, linked_version) except FileExistsError: pass env = dict(os.environ) python = install.python_executable(version) env['PATH'] = os.path.dirname(python) + ':' + env['PATH'] print(env['PATH']) pip_tool('tox', '-e', task, env=env, cwd=hp.HYPOTHESIS_PYTHON)
def run_tox(task, version): python = install.python_executable(version) # Create a version of the name that tox will pick up for the correct # interpreter alias. linked_version = os.path.basename(python) + ALIASES[version] try: os.symlink(python, linked_version) except FileExistsError: pass os.chdir(hp.HYPOTHESIS_PYTHON) env = dict(os.environ) python = install.python_executable(version) env['PATH'] = os.path.dirname(python) + ':' + env['PATH'] print(env['PATH']) pip_tool('tox', '-e', task, env=env)
def install_core(): install.python_executable(PY36)
def install_core(): install.python_executable(PY27) install.python_executable(PY36)