use VERSION.py instead of plain VERSION file

reduces reliance on package_data
This commit is contained in:
Jan Petykiewicz 2020-11-03 01:27:47 -08:00
commit b996f5f27e
4 changed files with 9 additions and 9 deletions

View file

@ -37,7 +37,5 @@ from .basic import (
__author__ = 'Jan Petykiewicz'
with open(pathlib.Path(__file__).parent / 'VERSION', 'r') as f:
__version__ = f.read().strip()
from .VERSION import __version
version = __version__