Skip to main content

Building

A python release consists of publishing the release to PyPi https://pypi.org/project/meshtastic/ as well as producing single-executable files that are downloadable from Github https://github.com/meshtastic/Meshtastic-python/releases.

Pre-requisites

No pre-requisites are needed locally to make a release. All builds are done via Github Actions currently.

To test/validate, you will need to run:

pip3 install poetry
poetry install

Note: we now use the poetry package manager for building meshtastic. If you were familar with our older 'venv' base instructions you can still access that mechanism by running "poetry shell" to open a shell with the (automatically maintained) virtual environment activated.

This can be handy if you want to run the "meshtastic" command without installing the package globally.

Instructions

connect one device to the serial port and run:

poetry run pytest -m smoke1
note

You need permissions in the GitHub project to make a build

Instructions - automated