Switch to file-based version number

This commit is contained in:
Jan Petykiewicz 2019-09-27 20:44:31 -07:00
commit 0ad289e5ac
4 changed files with 15 additions and 3 deletions

1
meanas/VERSION Normal file
View file

@ -0,0 +1 @@
0.5

View file

@ -41,10 +41,12 @@ Dependencies:
"""
import pkg_resources
import pathlib
from .types import dx_lists_t, field_t, vfield_t, field_updater
from .vectorization import vec, unvec
__author__ = 'Jan Petykiewicz'
__version__ = pkg_resources.get_distribution('meanas').version
with open(pathlib.Path(__file__).parent / 'VERSION', 'r') as f:
__version__ = f.read().strip()