Re: Pylons on Google App Engine article

2009-10-17 Thread Ian Bicking
On Fri, Oct 16, 2009 at 5:57 PM, Matt Feifarek wrote: >> I don't use paster serve, and wouldn't recommend it.  You can/should >> use paste.deploy.loadapp('development.ini') in your main.py or >> runner.py or whatever script, and then use dev_appserver. > > Would you mind expanding on that a littl

Re: Pylons on Google App Engine article

2009-10-16 Thread Mike Orr
On Fri, Oct 16, 2009 at 3:57 PM, Matt Feifarek wrote: > On Fri, Oct 16, 2009 at 1:04 PM, Ian Bicking wrote: >> I don't use paster serve, and wouldn't recommend it.  You can/should >> use paste.deploy.loadapp('development.ini') in your main.py or >> runner.py or whatever script, and then use dev_

Re: Pylons on Google App Engine article

2009-10-16 Thread Matt Feifarek
On Fri, Oct 16, 2009 at 1:04 PM, Ian Bicking wrote: > > I remember at some point having a problem with pip installing the > Paste packages, and paste/__init__.py was missing. I think I was > working on an actual app so I punted and created the file manually, > and didn't try to reproduce and fix

Re: Pylons on Google App Engine article

2009-10-16 Thread Ian Bicking
On Thu, Oct 15, 2009 at 2:01 PM, Matt Feifarek wrote: > On Thu, Oct 15, 2009 at 12:41 PM, Jason S. wrote: >> >> > I still don't get setuptools. I don't understand namespace packages, or >> > rather their deployment. I don't get why I can't move (for example) >> > paste, >> > and the Paste* items

Re: Pylons on Google App Engine article

2009-10-15 Thread Qiangning Hong
On Fri, Oct 16, 2009 at 9:07 AM, Jason S. wrote: > I just did a fresh pip install of Pylons and looked over the Paste > stuff, and it looks like there is a .pth file that comes with each > Paste package (ending with the string "nspkg.pth") that contains > executable Python (!) (I didn't know pth

Re: Pylons on Google App Engine article

2009-10-15 Thread Jason S.
Quick version: If you are working with Google App Engine or considering it, please visit and "star" this bug report. More below. http://code.google.com/p/googleappengine/issues/detail?id=2272 On Oct 15, 2:01 pm, Matt Feifarek wrote: > > When you install them with pip, I think they overlap (i.e.

Re: Pylons on Google App Engine article

2009-10-15 Thread Matt Feifarek
On Thu, Oct 15, 2009 at 2:21 PM, Mike Orr wrote: > > On Thu, Oct 15, 2009 at 9:59 AM, Matt Feifarek > wrote: > > This process has been EXTREMELY annoying. I've spent many hours trying to > > get things to work that I should have been spending working on my > project. > > Mostly, its my own ignor

Re: Pylons on Google App Engine article

2009-10-15 Thread Jason S.
> > unless it's added to the path somehow. BTW, I don't think GAE > > uses .pth files, which is why sys.path manipulation is necessary. > > It *seems *like this isn't true. If I omit pth files when uploading to GAE, > my app is failing with a 500 error. But I wouldn't trust that yet... can you > d

Re: Pylons on Google App Engine article

2009-10-15 Thread Mike Orr
On Thu, Oct 15, 2009 at 9:59 AM, Matt Feifarek wrote: > This process has been EXTREMELY annoying. I've spent many hours trying to > get things to work that I should have been spending working on my project. > Mostly, its my own ignorance of current magical techniques: All of us have been annoyed

Re: Pylons on Google App Engine article

2009-10-15 Thread Matt Feifarek
On Thu, Oct 15, 2009 at 12:41 PM, Jason S. wrote: > > I still don't get setuptools. I don't understand namespace packages, or > > rather their deployment. I don't get why I can't move (for example) > paste, > > and the Paste* items to another directory that is ON sys.path and have it > be > > imp

Re: Pylons on Google App Engine article

2009-10-15 Thread Jason S.
On Oct 15, 11:59 am, Matt Feifarek wrote: > On Thu, Oct 15, 2009 at 12:10 AM, Ian Bicking wrote: > > > I personally got too annoyed with testing and general interactivity > > (there's a nose extension though, which I cribbed from -- but I never > > actually got it to work myself). > > This proce

Re: Pylons on Google App Engine article

2009-10-15 Thread Matt Feifarek
On Thu, Oct 15, 2009 at 12:10 AM, Ian Bicking wrote: > > I personally got too annoyed with testing and general interactivity > (there's a nose extension though, which I cribbed from -- but I never > actually got it to work myself). > This process has been EXTREMELY annoying. I've spent many hour

Re: Pylons on Google App Engine article

2009-10-14 Thread Ian Bicking
On Wed, Oct 14, 2009 at 4:35 PM, Matt Feifarek wrote: > This seems much better than my own recent work... I think it's a mistake to > start with "appengine-homedir"... better to just start from stock Pylons and > hack it till it works on GAE. That's been my discovery over the last few > days, but

Re: Pylons on Google App Engine article

2009-10-14 Thread Mike Orr
These new approaches are encouraging. The purpose of appengine-homedir was to make it easy to get started, by handling the virtualenv and directory structure for you. But if it turns out that another way is easier, we can deprecate it. I do like the idea of a pylons-appengine template for Paste

Re: Pylons on Google App Engine article

2009-10-14 Thread Matt Feifarek
Very nice. This seems much better than my own recent work... I think it's a mistake to start with "appengine-homedir"... better to just start from stock Pylons and hack it till it works on GAE. That's been my discovery over the last few days, but I haven't patched my Pylons Wiki article yet. I'll

Pylons on Google App Engine article

2009-10-12 Thread Jason S.
Hi, all, I've just finished (the first draft of) an article on getting Pylons running on GAE with a mostly "stock" setup. I've focused on using a typical virtualenv and stock paster template and attempted to find the minimum number of changes required to get things running, rather than creating a