Creates a virtual environment if it doesn't exist.
()
| 80 | |
| 81 | |
| 82 | def create_virtual_env(): |
| 83 | """Creates a virtual environment if it doesn't exist.""" |
| 84 | if not os.path.exists(VENV_DIR): |
| 85 | print(f"Creating virtual environment: {VENV_DIR}") |
| 86 | venv.create(VENV_DIR, with_pip=True) |
| 87 | |
| 88 | |
| 89 | def get_venv_python(): |