Add version

This commit is contained in:
Fierelier 2021-03-18 19:04:27 +01:00
parent a29d14ea54
commit 00386298c6

View File

@ -29,6 +29,14 @@ import json
os.chdir(sp)
distro = os.path.splitext(s.rsplit(os.path.sep)[-1])[0]
version = {
"major": 0,
"minor": 1,
"patch": 0,
"stage": "dev"
}
versionString = ".".join(map(str,[version["major"],version["minor"]]))
versionStringExt = ".".join(map(str,[version["major"],version["minor"],version["patch"]])) + " " + version["stage"]
def runCode(str, lcs = False, description = "loose-code"):
if lcs == False: lcs = {}