in setup.py [0:0]
def getversion(): if 'BUILD_VERSION' in os.environ: return os.environ['BUILD_VERSION'] else: return __version__