import os here = os.path.realpath(os.path.dirname(__file__)) __all__ = ["__version__"] with open(os.path.join(os.path.dirname(here), "VERSION")) as version_file: __version__ = version_file.read().strip()