Figured it out.
from cx_Freeze import setup,Executable includefiles = ['README.txt', 'CHANGELOG.txt', 'helpers\uncompress\unRAR.exe', , 'helpers\uncompress\unzip.exe'] includes = [] excludes = ['Tkinter'] packages = ['do','khh'] setup( name = 'myapp', version = '0.1', description = 'A general enhancement utility', author = 'lenin', author_email = 'le...@null.com', options = {'build_exe': {'includes':includes,'excludes':excludes,'packages':packages,'include_files':includefiles}}, executables = [Executable('janitor.py')] )
Note:
include_files should only contain "relative paths to the setup.py script, otherwise the assembly will fail.include_files can be a list of ie lines of a bunch of files with their relative paths
orinclude_files can be a list of tuples in which the first half of the tuple is the name of the file with the absolute path, and the second half is the name of the destination file with the absolute path.
(When there is a lack of documentation, consult Kermit the Frog)
Mridang Agarwalla May 23 '10 at 17:31 2010-05-23 17:31
source share