rework setup.py to compose the version from the current git revision when not on a release