-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (20 loc) · 747 Bytes
/
Copy pathsetup.py
File metadata and controls
23 lines (20 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import sys
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but some modules need help.
build_exe_options = {
"packages": [
"os", "flask", "requests", "urllib3", "moviepy.editor",
"moviepy.video.fx", "moviepy.video.io", "moviepy.audio.fx", "moviepy.audio.io"
],
"includes": ["jinja2.ext"],
"include_files": ["videos/", "icon.ico"]
}
# Base is set to "Console" to keep the console window open for debugging
base = "Console" if sys.platform == "win32" else None
setup(
name="ACSE Animation Changer",
version="0.1",
description="ACSE Animation Changer",
options={"build_exe": build_exe_options},
executables=[Executable("app.py", base=base, icon="icon.ico")]
)