-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
25 lines (23 loc) · 1004 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import os
import platform
import sys
try:
if platform.system() == "Windows":
os.system("python -m pip install colorama")
os.system("python -m pip install pyfiglet")
os.system("python -m pip install --upgrade --force-reinstall cryptography")
os.system("python -m pip install pycryptodome")
os.system("python -m pip install gostcrypto")
os.system("cls")
else: # Linux, macOS, etc.
os.system("python3 -m pip install colorama")
os.system("python3 -m pip install pyfiglet")
os.system("python3 -m pip pip install --upgrade --force-reinstall cryptography")
os.system("python3 -m pip install pycryptodome")
os.system("python3 -m pip install gostcrypto")
os.system("clear")
print("Installed Successfully !!!")
python_command = "python3" if sys.platform != "win32" else "python"
os.system(f"{python_command} anayansi.py")
except Exception as error:
print(f"\n{error}\nError Encountered...")