-
Notifications
You must be signed in to change notification settings - Fork 143
/
setup.py
31 lines (28 loc) · 1.05 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
import sys
from cx_Freeze import setup, Executable
from src.constants import version
# with open("requirements.txt", "r") as f:
# requirements = f.read().splitlines()
# packages = []
# for r in requirements:
# if "==" in r:
# packages.append(r.split("==")[0])
# elif "~=" in r:
# packages.append(r.split("~=")[0])
# elif ">=" in r:
# packages.append(r.split(">=")[0])
# elif "<=" in r:
# packages.append(r.split("<=")[0])
build_exe_options = {
"path": sys.path,
"include_files":['configurator.bat', 'updatescript.bat'],
"packages": ["requests", "colr", "InquirerPy", "websockets", "pypresence", "nest_asyncio", "rich", "websocket_server"],
"excludes": ["tkinter", "test", "unittest", "pygments", "xmlrpc"]
}
setup(
name = "VALORANT rank yoinker",
version = version,
description='vRY - VALORANT rank yoinker',
executables = [Executable("main.py", icon="./assets/Logo.ico", target_name="vry.exe")],
options={"build_exe": build_exe_options}
)