aim/aim/__version__.py

11 lines
183 B
Python

import os
here = os.path.abspath(os.path.dirname(__file__))
version_file = f'{here}/VERSION'
__version__ = None
with open(version_file) as vf:
__version__ = vf.read().strip()