From 00386298c6cab9bf39549b89288d2e348c11f636 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Thu, 18 Mar 2021 19:04:27 +0100 Subject: [PATCH] Add version --- BirdyNet.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BirdyNet.py b/BirdyNet.py index 1db60cc..2d4275d 100644 --- a/BirdyNet.py +++ b/BirdyNet.py @@ -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 = {}