On Sun, Apr 15, 2012 at 3:01 PM, Mike Orr <[email protected]> wrote:
>
> Py2exe is not Setuptools aware yet, so it may not be compatible
> with namespace packages. (So far I haven't had a problem with Pylons
> and Py2exe -- including SQLAlchemy -- as long as all imports are
> listed explicitly rather than using Routes "autoload", but it may be
> when I switch an application to Pyramid.)
>

I have been successful with Pyramid and Py2Exe, the only problem I recall
is that config.scan() does not find @view_config decorators in files
included in the library.zip file. I think this is related to there not
being .pyc files in the zip file. I only had a couple of views for that app
so I just used config.add_view(). I may have also be some fiddling to get
egg-info directories to work so that entry_points work with paster config
files. If someone is interested in the details of how I got it to work they
should post on a separate thread or find me on IRC as lambacck)

-Chris


-- 
Christopher Lambacher
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to