Use separate VERSION file
This commit is contained in:
parent
2259e7987b
commit
f471374b68
4 changed files with 14 additions and 3 deletions
1
masque/VERSION
Normal file
1
masque/VERSION
Normal file
|
|
@ -0,0 +1 @@
|
|||
0.5
|
||||
|
|
@ -23,6 +23,8 @@
|
|||
- svgwrite [masque.file.svg]
|
||||
"""
|
||||
|
||||
import pathlib
|
||||
|
||||
from .error import PatternError
|
||||
from .shapes import Shape
|
||||
from .label import Label
|
||||
|
|
@ -33,4 +35,6 @@ from .pattern import Pattern
|
|||
|
||||
__author__ = 'Jan Petykiewicz'
|
||||
|
||||
version = '0.5'
|
||||
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