24 lines
513 B
Python
24 lines
513 B
Python
import os.path
|
|
import sys
|
|
from cx_Freeze import setup, Executable
|
|
|
|
build_exe_options = {
|
|
"packages": ["os", "pygame", "lxml"],
|
|
"excludes": ["tkinter", "numpy"],
|
|
"include_files": ["arcade.png"]
|
|
}
|
|
|
|
base = None
|
|
if sys.platform == "win32":
|
|
base = "Win32GUI"
|
|
|
|
setup(
|
|
name="mfe",
|
|
version="0.1",
|
|
description="MAME FrontEnd",
|
|
options={"build_exe": build_exe_options},
|
|
executables=[
|
|
Executable(
|
|
"mfe.py", base=base, icon=os.path.join('images', 'arcade.ico'))
|
|
])
|