Switch to file-based version number
This commit is contained in:
parent
487bdd61ec
commit
0ad289e5ac
4 changed files with 15 additions and 3 deletions
1
meanas/VERSION
Normal file
1
meanas/VERSION
Normal file
|
|
@ -0,0 +1 @@
|
|||
0.5
|
||||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue