Skip to content

Commit

Permalink
Added the 2 new batch files to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZXTube committed Nov 2, 2022
1 parent 042c241 commit 82ec56f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This script is only used to turn the main.py script into a windows executable, by running "python setup.py build"
# This script is only used to turn the main.py script into a windows executable, by running `python setup.py build`

from cx_Freeze import setup, Executable
import pkgutil

files = ["StopApp.bat", "Resources"]
files = ["StopApp.bat", "RunOnStartup.bat", "DontRunOnStartup.bat", "Resources"]
includes = ["encodings", "collections", "importlib", "pygame", "win32com", "os", "time"]
excludes = [i.name for i in list(pkgutil.iter_modules()) if i.ispkg and i.name not in includes]

Expand Down

0 comments on commit 82ec56f

Please sign in to comment.