Add venv to script.

This commit is contained in:
2026-05-17 14:52:34 +08:00
parent d6a80b2bbb
commit 5052b539c1
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -13,9 +13,10 @@ git clone https://repo.weispace.net/wei/ServerWind.git
git clone https://github.com/WeiDnite1222/ServerWind.git git clone https://github.com/WeiDnite1222/ServerWind.git
``` ```
### Configure python version and install dependencies ### Configure virtual environment and install dependencies
``` ```
uv venv
uv python pin 3.12.10 uv python pin 3.12.10
uv pip install -r requirements.txt uv pip install -r requirements.txt
``` ```
+1
View File
@@ -1 +1,2 @@
uv sync.
uv run python main.py uv run python main.py