Returns the path to the Python interpreter inside the virtual environment.
()
| 87 | |
| 88 | |
| 89 | def get_venv_python(): |
| 90 | """Returns the path to the Python interpreter inside the virtual environment.""" |
| 91 | if os.name == "nt": # For Windows, path might be different |
| 92 | return os.path.join(VENV_DIR, "Scripts", "python.exe") |
| 93 | else: |
| 94 | return os.path.join(VENV_DIR, "bin", "python3") |
| 95 | |
| 96 | |
| 97 | def install_missing_packages(): |
no outgoing calls
no test coverage detected