use VERSION.py instead of plain VERSION file
reduces reliance on package_data
This commit is contained in:
parent
60f879a1ad
commit
b996f5f27e
4 changed files with 9 additions and 9 deletions
|
|
@ -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__
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue