create a file to run this command:
python.exe build.py py2exe
Build.py should contain this (minus notes):
from distutils.core import setup import py2exe
Note. Any modules / libraries that need to be enabled (in this case timer.py is used) MODULE_LIST = ["timer"]
Note: 'bundle_files': 1' and zipfile = None compiles each into one exe without dependencies console = script will force your exe to run your python program as a script in the console. PyFindReplaceThreaded.py is the py file you want to create.
setup( options = {'py2exe': {'bundle_files': 1}}, console = [{'script': "PyFindReplaceThreaded.py"}], zipfile = None, )
source share