I am using Python 3.5.2 and PyInstaller 3.2 to turn a small PyQt5 application into a standalone utility for internal use. PyInstaller is necessary because most of the team hasn't installed Python3.
I would like to put the Subversion properties of the WC from which the utility is generated into the utility's Help->About dialog, but I'm struggling to figure out a reasonable approach for doing this.
If I were using a different build environment I would define a template file and have TortoiseSVN's SubWCRev generate a source file as a pre-build step. At the moment however the "build" of my utility is the one-step process of invoking PyInstaller on a modified spec file. I'd prefer to keep it this way.
I suspect that it is possible to write a custom hook for PyInstaller that will get the required properties from the working copy, (equivalents of WCRANGE, WCMODS and WCMIXED, probably using pysvn), and embed them as properties of the generated exe. Has anyone done this, or is this approach completely wrong?
Thank you.