-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (34 loc) · 1.02 KB
/
setup.py
File metadata and controls
38 lines (34 loc) · 1.02 KB
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
from cx_Freeze import setup, Executable
import sys
import os
# Remove unnecessary modules
packages_to_exclude = ['tkinter', 'test', 'distutils', 'pydoc_data', 'lib2to3']
app_major_version = 1
app_minor_version = 0
app_patch_version = 6
build_exe_options = {
"packages": ["flask", "pythonosc", "requests", "json", "logging", "webbrowser", "toml"],
"excludes": packages_to_exclude,
"include_files": [
('templates', 'templates'),
('static', 'static'),
('config.toml', 'config.toml')
],
"include_msvcr": True,
"optimize": 2,
"build_exe": f"build/VRChat_WebChat" # Custom output directory
}
setup(
name="VRChat WebChat",
version=f"{app_major_version}.{app_minor_version}.{app_patch_version}",
description="VRChat WebChat with Translation Support",
author="Wolala",
options={"build_exe": build_exe_options},
executables=[
Executable(
"app.py",
target_name="VRChat_WebChat.exe",
copyright="Copyright © 2025"
)
]
)