(venv: str)
| 53 | |
| 54 | |
| 55 | def get_env_patch(venv: str) -> PatchesT: |
| 56 | return ( |
| 57 | ('PIP_DISABLE_PIP_VERSION_CHECK', '1'), |
| 58 | ('PYTHONHOME', UNSET), |
| 59 | ('VIRTUAL_ENV', venv), |
| 60 | ('PATH', (bin_dir(venv), os.pathsep, Var('PATH'))), |
| 61 | ) |
| 62 | |
| 63 | |
| 64 | def _find_by_py_launcher( |