namerena-rs/maker-py/setup.py

42 lines
794 B
Python
Raw Permalink Normal View History

2024-04-06 21:50:29 +08:00
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need
# fine tuning.
build_options = {
"packages": [],
"excludes": [
"test",
"asyncio",
"xml",
"tcl",
"tkinker",
"multiprocessing",
"http",
"html",
"logging",
"email",
"distutils",
"unittest",
"concurrent",
"pydoc_data",
"socket",
"random",
"lzma",
"bz2",
2024-04-10 01:29:53 +08:00
"decimal",
"ssl"
2024-04-06 21:50:29 +08:00
],
}
base = "console"
executables = [Executable("main.py", base=base)]
setup(
name="namerena-maker",
version="1.0.0",
description="名字竞技场-八围制造器",
options={"build_exe": build_options},
executables=executables,
)