forked from jan/mem_edit
Move version number into VERSION file
to avoid importing mem_edit in setup.py
This commit is contained in:
parent
6321d4221c
commit
49a7c21ed2
4 changed files with 13 additions and 4 deletions
1
mem_edit/VERSION
Normal file
1
mem_edit/VERSION
Normal file
|
|
@ -0,0 +1 @@
|
|||
0.2
|
||||
|
|
@ -12,12 +12,16 @@ To get started, try:
|
|||
|
||||
"""
|
||||
import platform
|
||||
import pathlib
|
||||
|
||||
from .utils import MemEditError
|
||||
|
||||
|
||||
__author__ = 'Jan Petykiewicz'
|
||||
version = '0.2'
|
||||
|
||||
with open(pathlib.Path(__file__).parent / 'VERSION', 'r') as f:
|
||||
__version__ = f.read().strip()
|
||||
version = __version__
|
||||
|
||||
|
||||
system = platform.system()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue