make python package independent from rest of DAMASK
https://packaging.python.org/guides/single-sourcing-package-version/
This commit is contained in:
parent
eab2ce3761
commit
009a47ad72
|
@ -0,0 +1 @@
|
|||
../../VERSION
|
|
@ -3,8 +3,8 @@
|
|||
"""Main aggregator"""
|
||||
import os
|
||||
|
||||
with open(os.path.join(os.path.dirname(__file__),'../../VERSION')) as f:
|
||||
version = f.readline()[:-1]
|
||||
with open(os.path.join(os.path.dirname(__file__),'VERSION')) as f:
|
||||
version = f.readline()[1:-1]
|
||||
|
||||
name = 'damask'
|
||||
|
||||
|
|
Loading…
Reference in New Issue