Skip to content

Files

Latest commit

 

History

History
32 lines (23 loc) · 734 Bytes

Development Setup.md

File metadata and controls

32 lines (23 loc) · 734 Bytes

Development Setup

multicast_expert uses Poetry to handle setting up for development and uploading the package to PyPi.

Cheat Sheet

Setting Up for Local Dev

python -m poetry install

Running Tests

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

Running Linting and Formatting

Before commiting changes:

./run_linters.sh

Uploading to PyPi

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!