Added setup.py.
This commit is contained in:
parent
f4406d0779
commit
cca11bba20
2 changed files with 28 additions and 1 deletions
3
adl.py
3
adl.py
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue