use VERSION file to avoid importing gridlock before its installed
This commit is contained in:
parent
e97bd482a9
commit
f62be35966
4 changed files with 14 additions and 3 deletions
1
gridlock/VERSION
Normal file
1
gridlock/VERSION
Normal file
|
|
@ -0,0 +1 @@
|
|||
0.3
|
||||
|
|
@ -16,10 +16,14 @@ Dependencies:
|
|||
- skimage [Grid.visualize_isosurface()]
|
||||
"""
|
||||
|
||||
import pathlib
|
||||
|
||||
from .error import GridError
|
||||
from .direction import Direction
|
||||
from .grid import Grid
|
||||
|
||||
__author__ = 'Jan Petykiewicz'
|
||||
|
||||
version = '0.3'
|
||||
with open(pathlib.Path(__file__).parent / 'VERSION', 'r') as f:
|
||||
__version__ = f.read().strip()
|
||||
version = __version__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue