|
|
@ -15,6 +15,8 @@ sys.argv.append("py2exe") |
|
|
|
|
|
|
|
|
|
|
|
PYTHON_PATH = r"C:\Python311" |
|
|
|
PYTHON_PATH = r"C:\Python311" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WINDOWS_PATH = r"C:\Windows" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SETUP_DICT = { |
|
|
|
SETUP_DICT = { |
|
|
|
"console": [{ |
|
|
|
"console": [{ |
|
|
@ -30,14 +32,18 @@ SETUP_DICT = { |
|
|
|
("", glob(os.path.join(WINDOWS_PATH, r"SYSTEM32\msvcp100.dll"))), |
|
|
|
("", glob(os.path.join(WINDOWS_PATH, r"SYSTEM32\msvcp100.dll"))), |
|
|
|
|
|
|
|
|
|
|
|
("", glob(os.path.join(WINDOWS_PATH, r"SYSTEM32\msvcr100.dll"))), |
|
|
|
("", glob(os.path.join(WINDOWS_PATH, r"SYSTEM32\msvcr100.dll"))), |
|
|
|
|
|
|
|
("", glob(os.path.join(os.getcwd(), r"speedtest.ini"))), |
|
|
|
|
|
|
|
("", glob(os.path.join(os.getcwd(), r"urls.txt"))), |
|
|
|
|
|
|
|
("library", glob(os.path.join(os.getcwd(), r"library/commons.py"))), |
|
|
|
|
|
|
|
("library", glob(os.path.join(os.getcwd(), r"library/inputimeout.py"))), |
|
|
|
|
|
|
|
|
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
|
|
|
|
"options": { |
|
|
|
"options": { |
|
|
|
"py2exe": { |
|
|
|
"py2exe": { |
|
|
|
"bundle_files": 3, |
|
|
|
"bundle_files": 3, |
|
|
|
"excludes": ["tcl", "tk", "tkinter", "idna", "lib2to3", "xmlrpc", "multiprocessing", "urllib3", "chardet", |
|
|
|
"includes": ["charset_normalizer"], |
|
|
|
"asyncio", "pydoc_data", "requests", "unittest", "pydoc", "lzma", "bz2"], |
|
|
|
"excludes": ["tcl", "tk", "tkinter", "lib2to3", "xmlrpc", "multiprocessing", "asyncio", "pydoc_data", "unittest", "pydoc", "lzma", "bz2"], |
|
|
|
"dll_excludes": ["tcl86.dll", "tk86.dll"], |
|
|
|
"dll_excludes": ["tcl86.dll", "tk86.dll"], |
|
|
|
"compressed": True, |
|
|
|
"compressed": True, |
|
|
|
"optimize": 2 |
|
|
|
"optimize": 2 |
|
|
|