File size: 269 Bytes
5aa312d
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import sys
from pathlib import Path
file = Path(__file__).resolve()
parent, root = file.parent, file.parents[1]
sys.path.append(str(root))

from config.core import ROOT, config

with open(ROOT / "VERSION") as version_file:
    __version__ = version_file.read().strip()