standard behavior
most modules have an __version__ attribute
This commit is contained in:
parent
6259984e93
commit
333e840b09
|
@ -5,6 +5,7 @@ import re as _re
|
|||
name = 'damask'
|
||||
with open(_Path(__file__).parent/_Path('VERSION')) as _f:
|
||||
version = _re.sub(r'^v','',_f.readline().strip())
|
||||
__version__ = version
|
||||
|
||||
# make classes directly accessible as damask.Class
|
||||
from ._environment import Environment as _ # noqa
|
||||
|
|
Loading…
Reference in New Issue