mirror of
https://github.com/aclist/dztui.git
synced 2026-11-11 04:20:39 +01:00
970 B
970 B
TODO: link to here from sphinx docs
Installing from source
Fetch submodules
git submodule update --recursive --init
Install into editable venv with dev dependencies
uv pip install -e '.[dev]'
This includes all dependencies for building, linting, testing, and checking in code. If you optionally want to install only a subset of dev tools, replace 'dev' with the following flag:
build: package release deps docs: documentation tools lint: code linting, fixing, and type checking test: unit and integration tests
Build process
Setting up precommit hooks
pre-commit install
Building documentation
sphinx-build -M html source build -a
Building standalone release binaries
- Install the applicable system package containing the 'musl-gcc' wrapper
- Set up the build target:
rustup target add x86_64-unknown-linux-musl - Run
python3 scripts/release.py - Generate a release and tag against the resulting tarfile generated in
dist