docs: update venv activation for windows (#1836)

## Summary

Follow on to PR https://github.com/astral-sh/uv/pull/1811 as part of
issue https://github.com/astral-sh/uv/issues/1750. This change updates
the windows venv activation to work for both Powershell and Command
Prompt instead of just Powershell. This also aligns with what `uv venv`
displays.
This commit is contained in:
samypr100 2024-02-21 17:16:40 -05:00 committed by GitHub
parent 3a34918480
commit f441f8fa9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,7 +66,7 @@ To activate the virtual environment:
source .venv/bin/activate source .venv/bin/activate
# On Windows. # On Windows.
.\.venv\Scripts\activate.ps1 .venv\Scripts\activate
``` ```
To install a package into the virtual environment: To install a package into the virtual environment: