(vendored: &VendoredFileSystem)
| 69 | |
| 70 | impl ProgramSettings { |
| 71 | pub fn empty(vendored: &VendoredFileSystem) -> Self { |
| 72 | Self { |
| 73 | python_version: PythonVersionWithSource::default(), |
| 74 | python_platform: PythonPlatform::default(), |
| 75 | search_paths: SearchPaths::empty(vendored), |
| 76 | python_environment: Ok(None), |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | /// The selected environment, or the last usable one if resolution failed. |
| 81 | pub fn last_usable_python_environment(&self) -> Option<&PythonEnvironment> { |