-
Notifications
You must be signed in to change notification settings - Fork 0
/
Setup.py
40 lines (32 loc) · 905 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import os
import time
import ctypes
ctypes.windll.kernel32.SetConsoleTitleW("SSS Setup | Tarantino Andrea")
os.system("color 4")
os.system("cls")
banner = """
____ _____ _____ _ _ ____
/ ___|| ____|_ _| | | | _ \
\___ \| _| | | | | | | |_) |
___) | |___ | | | |_| | __/
|____/|_____| |_| \___/|_|
"""
print(banner)
print("Welcome to SSS Setup. This will install all the dependencies needed for the program to run.")
print("\nDo you want to start the setup now? (y/n)")
a = input("> ")
if a=="y":
os.system("py -m pip install -r requirements.txt")
print("Setup complete. You can now run the program.")
else:
print("Setup aborted. Exiting...")
time.sleep(3)
os.system("exit")
print("\nDo you want to start the tool now? (y/n)")
b = input("> ")
if b=="y":
os.system("py SSS.py")
else:
print("Exiting...")
time.sleep(2)
os.system("exit")