mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
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:
10
Utils.py
10
Utils.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user