8000 Use `uv venv` and `uv pip` by maurycy · Pull Request #425 · python/pyperformance · GitHub
[go: up one dir, main page]

Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reduce the diff
  • Loading branch information
maurycy committed Oct 25, 2025
commit 3a402551d306ba7b4e80c1b308c426f5f2a08e30
6 changes: 3 additions & 3 deletions dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ def ensure_venv_ready(venvroot=None, kind="dev", venvsdir=VENVS):
isready = os.path.exists(readyfile)
if not isready:
relroot = os.path.relpath(venvroot)
if os.path.exists(venvroot):
if not os.path.exists(venvroot):
print(f"creating uv env at {relroot}...")
else:
print(f"uv env {relroot} not ready, re-creating...")
shutil.rmtree(venvroot)
else:
print(f"creating uv env at {relroot}...")
ec, _, _ = run_uv(
"venv",
"--python",
Expand Down
Loading
0