Hi,
I'm new to cx_freeze, below is the content of my setup.py:
#!/usr/bin/python
# -*- coding: utf-8 -*-
from cx_Freeze import setup,Executable
includefiles = ['settings.ini']
includes = []
excludes = ['Tkinter']
packages = ['do','khh']
setup(
name = 'myapp',
version = '0.1',
description = 'A general enhancement utility',
author = 'lenin',
author_email = '[email protected]',
options =
{'build_exe':{'excludes':excludes,'packages':packages,'include-files':includefiles}},
executables = [Executable('main.py')]
)
There is a file named 'settings.ini', which is a configuration file of my
application, I just want to let cx_freeze copy it to the directory of the
executables, but when I used the command:
python setup.py build
An error was raised:
*error: error in setup script: command 'build_exe' has no such option
'include-files'*
I used the command below :
python setup.py build_exe --help
And it appears that the option include-files exists.
I wonder what's wrong.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users