| 289 | } |
| 290 | |
| 291 | std::filesystem::path PackageManager::venv_python() const { |
| 292 | #ifdef _WIN32 |
| 293 | return m_venv_dir / "Scripts" / "python.exe"; |
| 294 | #else |
| 295 | return m_venv_dir / "bin" / "python"; |
| 296 | #endif |
| 297 | } |
| 298 | |
| 299 | bool PackageManager::is_venv_ready() const { |
| 300 | return m_venv_ready && std::filesystem::exists(venv_python()); |