From 00095431cad989a42c1d70cc3adbf5e4e8edb66e Mon Sep 17 00:00:00 2001 From: Patrick Kastner <1919773+kastnerp@users.noreply.github.com> Date: Fri, 23 Oct 2026 23:45:01 -0400 Subject: [PATCH] Document uv setup in README Co-Authored-By: Claude Sonnet 5.5 --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 3a1ffce..329d2e6 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,18 @@ python tools/install_energyplus.py python tools/fetch_weather.py ``` +With [uv](https://docs.astral.sh/uv/) instead of `venv` and `pip` (any platform): + +```sh +uv venv --python 3.12 +uv pip install -c dependencies-py312.txt -e '.[optimize]' +uv run python tools/install_energyplus.py +uv run python tools/fetch_weather.py +``` + +`uv run python ...` uses `.venv` without activating it; prefix the commands below +the same way. + Activation makes `.venv` the default Python environment for the current terminal. Activate it again in each new terminal with `source .venv/bin/activate` on macOS/Linux or `.\.venv\Scripts\Activate.ps1` in PowerShell. Use `python` for all