Thanks, this is what I have now done, however this seems to cause a dialogue to appear on every launch nagging that there is a newer version available.
How can I disable this dialogue or the check that triggers it?
I'm guessing that with daily 'releases' this will never go away, so a method to disable is desirable.
There's more to why you should not set CHIRP_VERSION to something other than the build, because it affects what we report in the log as well as what is checked against for updates, etc. That version is also stamped in the image metadata and used to help warn when opening an image from a newer version of chirp in an older one. It would be a lot better if you would:
sed "s/CHIRP_VERSION/'$VERSION'/" setup.py
in your script and leave chirp/__init__.py alone for consistency with all the other builds and tooling. The draconian opinionated python tooling is all you need to appease, so please limit the delta to just what is needed.
--Dan