Personally, I always set my eggs zip_safe=False. This is so that I can include JavaScript and CSS files in the egg, but still have Apache serve them statically. Much faster than letting Paster do the job.
On Mon, Aug 16, 2010 at 4:13 AM, Diez B. Roggisch <[email protected]> wrote: > > On Aug 16, 2010, at 1:29 AM, James Durham wrote: > > > Hello, I'm working on an exercise to learn tg2 and mod_wsgi > > integration. > > The basic idea is to use a quickstarted tg2 app and immediately deploy > > that > > app using mod_wsgi. > > I started with some templates from modwsgideploy. > > I modified them to point to the right directories, and also fix some > > directive > > issues. (mod_wsgi couldn't see the virtual environment for instance.) > > > > The work on this halted when I got to this point. > > > > [Wed Aug 04 20:58:35 2010] [error] [client 127.0.0.1] Error - <type > > 'exceptions.OSError'>: [Errno 20] Not a directory: '/usr/local/ > > turbogears/BASELINE/lib/python2.5/site-packages/myapp-0.1dev- > > py2.5.egg/ > > myapp/controllers' > > > > Is your VE really called "BASELINE"? > > We btw. run a TG2 app without a hitch from a source-install which is > "egged" in the VE using > > python setup.py develop > > Diez > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<turbogears%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/turbogears?hl=en. > > -- Michael J. Pedersen My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171 Yahoo/pedermj2002, MSN/[email protected] -- You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en.

