Creation of Binary with cx_Freeze
This commit is contained in:
17
setup.py
Normal file
17
setup.py
Normal file
@@ -0,0 +1,17 @@
|
||||
import sys
|
||||
from cx_Freeze import setup, Executable
|
||||
|
||||
# Dependencies are automatically detected, but it might need fine tuning.
|
||||
# "packages": ["os"] is used as example only
|
||||
build_exe_options = {"packages": ["os","setproctitle","nomkl","numpy"],
|
||||
"bin_includes": ["/usr/bin/python3"],
|
||||
"excludes": ["tkinter"],
|
||||
"optimize": 0}
|
||||
|
||||
name = "diceplayer"
|
||||
|
||||
setup(
|
||||
name = name,
|
||||
version = "0.1",
|
||||
executables = [Executable("diceplayer/__main__.py", target_name=name)]
|
||||
)
|
||||
Reference in New Issue
Block a user