Build

How to build sndid. Using Debian Stable (12/Bookworm).

Build from Source

Install this repo. Adapt to local Python setup, ala:

git clone --recursive https://spacecruft.org/deepcrayon/sndid
cd sndid/
pyenv local 3.11 # For example, if pyenv is used
python -m venv venv
source venv/bin/activate
pip install -U pip poetry
poetry install
poetry build # writes to dist/

Formatting

Run black on the Python files for nice formatting:

black sndid/*.py

Lint

Use ruff for linting.

ruff check sndid/

Upload

Push to PyPI:

twine upload dist/*