multicast_expert uses Poetry to handle setting up for development and uploading the package to PyPi.
python -m poetry install
python -m mypy . # Checks types
# Linux only, allows the loopback tests to pass
sudo ip route add 239.2.2.0/24 dev lo
sudo ip -6 route add table local ff11::/16 dev lo
python -m pytest . # Checks actual code
Before commiting changes:
./run_linters.sh
Pypy uploads will be generated automatically for releases tagged with a "vA.B.C" tag (e.g v0.1.0).
Make sure that the version in pyproject.toml matches the tag before tagging a release!