Added setup.py.

This commit is contained in:
cronyakatsuki 2022-03-10 18:37:40 +01:00
parent f4406d0779
commit cca11bba20
2 changed files with 28 additions and 1 deletions

3
adl.py
View file

@ -4,6 +4,7 @@ import os, subprocess, sys, argparse, signal
# required files
CURRENT_DIR = os.getcwd()
VERSION = "1.0"
if sys.platform == "win32":
CONFIG_FILE_PATH = os.path.join('C:\\', 'Users', str(os.getlogin()), 'Documents', 'Adl', 'config.json')
@ -292,7 +293,7 @@ def argument_and_config_parser():
# print the version
if args["version"]:
print("Py-adl version 1.1")
print(f"Py-adl version {VERSION}")
sys.exit()
# check if providers are working