Webhost Update

introduce a very WIP tracker
Server will try to reuse port and also try to only use one port
This commit is contained in:
Fabian Dill
2020-06-21 15:32:31 +02:00
parent 2759f6812c
commit 6421a373e1
9 changed files with 316 additions and 49 deletions

View File

@@ -1,12 +1,18 @@
from __future__ import annotations
import typing
def tuplize_version(version: str) -> typing.Tuple[int, ...]:
return tuple(int(piece, 10) for piece in version.split("."))
__version__ = "2.3.3"
_version_tuple = tuple(int(piece, 10) for piece in __version__.split("."))
_version_tuple = tuplize_version(__version__)
import os
import subprocess
import sys
import typing
import functools
from yaml import load, dump