This repository has been archived by the owner on Dec 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
47 lines (41 loc) · 1.66 KB
/
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
41
42
43
44
45
46
47
import os
import time
class Colors:
dred = "\033[31m"
dgreen = "\033[32m"
yellow = "\033[33m"
dblue = "\033[34m"
dmagenta = "\033[35m"
dcyan = "\033[36m"
lgrey = "\033[37m"
dgray = "\033[90m"
red = "\033[91m"
green = "\033[92m"
orange = "\033[93m"
blue = "\033[94m"
magenta = "\033[95m"
cyan = "\033[96m"
white = "\033[97m"
reset = "\033[0m"
print(f'''
{Colors.yellow} _ {Colors.dblue} _____ _____ _____ {Colors.reset}
{Colors.yellow} | | {Colors.dblue}| __ \| __ \ / ____|{Colors.reset}
{Colors.yellow} | | ___ __ _ __ _ _ _ ___ {Colors.dblue}| |__) | |__) | | {Colors.reset}
{Colors.yellow} | | / _ \/ _` |/ _` | | | |/ _ \ {Colors.dblue}| _ /| ___/| | {Colors.reset}
{Colors.yellow} | |___| __/ (_| | (_| | |_| | __/ {Colors.dblue}| | \ \| | | |____ {Colors.reset}
{Colors.yellow} |______\___|\__,_|\__, |\__,_|\___| {Colors.dblue}|_| \_\_| \_____|{Colors.reset}
{Colors.yellow} __/ |{Colors.green}setup.py {Colors.reset}
{Colors.yellow} |___/ {Colors.reset}
''')
time.sleep(1.5)
print(f'{Colors.dmagenta}Installing dependencies...{Colors.reset}')
time.sleep(1)
try:
os.system('pip3 install -r requirements.txt > /dev/null')
except:
os.system('pip3 install pypresence > /dev/null')
os.system('pip3 install requests > /dev/null')
os.system('pip3 install psutil > /dev/null')
print(f'{Colors.dgreen}Dependencies installed! Launch {Colors.yellow}main.py {Colors.dgreen}to begin.')
time.sleep(2)
exit()