This guide uses Gina's custom versioneer that allows for different branches to be versioned automatically, using a lookup file. If you want to use mainline versioneer, most of this applies with the exception of the lookupfile sections.
- Download Gina's custom
versioneer.py
file from the OctoPrint repository - Add it to the project root of your plugin, eg
OctoPrint-WS281x_LED_Status/versioneer.py
- Add the configuration:
setup.cfg
: