Tests / Run the tests (pull_request) Successful in 1m1s
No issue closed: documentation fix found while verifying the Debian commands.
1.3 KiB
1.3 KiB
🌐 English · Dansk · Bahasa Melayu
Installation
Projektet kræver Python 3.13 eller nyere. Det har ingen kørselsafhængigheder; pytest, ruff, mypy, yamllint og actionlint er udviklingsværktøjer.
Windows PowerShell
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
Linux Debian
På Debian 13 (trixie) eller nyere er python3 3.13:
sudo apt install python3 python3-venv
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
På Debian 12 (bookworm) er python3 3.11, og pip nægter at installere projektet (requires a different Python). Hent Python 3.13 med uv og brug den til .venv:
sudo apt install python3 python3-venv
python3 -m venv .uvenv
.uvenv/bin/python -m pip install uv
.uvenv/bin/uv python install 3.13
.uvenv/bin/uv venv --seed --python 3.13 .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
macOS
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
Næste: Brug.