On Thu, Feb 25, 2010 at 7:49 AM, Craig Swank <[email protected]> wrote:
> Sorry to be a pain, but when I try this for my setup.py:
No problem. :-)
> from cx_Freeze import setup, Executable
>
> version = '1.0'
> includes=['lxml', 'lxml._elementpath', 'lxml.etree', 'gzip',
> 'gfmodel', 'gfserve
> r', 'chameleon', 'paste', 'webob', 'urllib']
> namespaces = ['zope', 'repoze', 'paste', 'rubbish', 'wind']
> packages = ['wind.model', 'wind.server', 'lxml', 'paste']
>
>
> setup(name='gearfacts',
> version=version,
> options = {
> "build_exe" : {
> "namespace_packages": namespaces,
> "includes": includes,
> "packages": packages,
> },
> },
> executables=[Executable('run.py')],
> )
>
>
>
> the error trace from python says:
> Import Error: No Module Named 'wind.server'
>
>
> wind.model goes in fine (along with all the sub-modules). Am I still
> doing something wrong? I've tried a bunch of variations and can't my
> 'wind' packages completely in.
Right. I noticed that yesterday and made the changes -- but forgot to
check them in! They are checked in now and should resolve this problem
for you completely....I hope! :-)
Anthony
------------------------------------------------------------------------------
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