class - compiles .py to .exe inluding it Classes -
class - compiles .py to .exe inluding it Classes -
i have 4 .py files. below list of files required run programme. of them missing fail programme run.
how code works: ) guiss.py imports demonstrator.py ) demonstrator.py imports filereader.py , process.py ) run programm need click guiss.py. my cx-freeze code below:from cx_freeze import setup,executable import os includefiles = ['filereader.py','demonstrator.py','logo.gif','thebrighterchoice.gif'] #bin_includes= ['process.py','demonstrator.py','filereader.py'] ..... 'bin_includes':bin_includesincludes = ['process'] includes = ['process','tkinter'] excludes = ['tkinter'] packages = ['os','xlrd'] setup( name = "process", version = "0.1", description = "description", author = "raitis kupce", options = {'build_exe' :{'excludes': excludes,'includes':includes,'packages':packages,'include_files':includefiles}}, executables = [executable("guiss.py")] )
when run compiled file error message: i tried write in setup.py (cx-freeze file)
excludes = ['tkinter'] includes = ['tkinter'] afterwards packages = ['tkinter']
despite numerous attempt, no luck, same message time.
p.s
my python source code can downloaded https://github.com/dragnets/administration
i did studied hours here , here , modifying endless times no luck.
class python-3.x py2exe python-import cx-freeze
Comments
Post a Comment