mirror of https://github.com/astral-sh/uv
## Summary On Windows, we can't delete the currently-running executable -- at least, not trivially. But the [`self_replace`](https://docs.rs/self-replace/latest/self_replace/) crate can help us here. Closes https://github.com/astral-sh/uv/issues/1368. Closes https://github.com/astral-sh/uv/issues/4980. ## Test Plan On my Windows machine: - `maturin build` - `python -m venv .venv` - `.venv/Scripts/activate` - `pip install /path/to/uv.whl` - `uv pip install /path/to/uv.whl` - `uv pip uninstall uv` |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||