Move version into setup.py and read it back with pkg_resources

This commit is contained in:
jan 2019-09-12 12:21:09 +02:00
commit 9cd2dd131b
2 changed files with 4 additions and 3 deletions

View file

@ -41,8 +41,10 @@ Dependencies:
"""
import pkg_resources
from .types import dx_lists_t, field_t, vfield_t, field_updater
from .vectorization import vec, unvec
__author__ = 'Jan Petykiewicz'
version = '0.5'
__version__ = pkg_resources.get_distribution('meanas').version