Skip to content

Commit

Permalink
Use uv for local venv
Browse files Browse the repository at this point in the history
  • Loading branch information
daoo committed Apr 13, 2024
1 parent fb1595f commit 729a6d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions recreate-venv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ if [[ -n "${VIRTUAL_ENV+}" ]]; then
fi

rm -rf "./venv/"
python -m venv "./venv"
./venv/bin/python -m pip install --upgrade pip setuptools wheel
./venv/bin/pip install \
-r requirements.txt \
-r requirements-ci.txt
uv venv venv

source ./venv/bin/activate
uv pip install -r requirements.txt -r requirements-ci.txt -r requirements-dev.txt
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-lsp-server[rope]

0 comments on commit 729a6d5

Please sign in to comment.