Do you have __init__.py files in your google/ and google/protobuf/ directories? That's how Python knows those directories are packages that contain modules. (The files can be empty.) -- Dan
On Thu, Oct 30, 2008 at 10:46 AM, Bradley Kite <[EMAIL PROTECTED]>wrote: > > Hi Marzia, > > OK - I have the source too - but I'm not sure where to put it. I've > tried including it in my project's src directory but it still > complains. > > I'm trying to use google's protocol buffers modules: > > from google.protobuf import descriptor > > I have the following in my source directory: > > google/protobuf/descriptor.py (plus a bunch of other related > files/directories) > myapp.py - my application which imports the above module > > But its still not right. I'm sure its something silly but I've been > trying many different things so far without success. > > Your help is much appreciated! > > Regards > -- > Brad > > > On 30/10/2008, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > > Hi Brad, > > > > Google App Engine doesn't support egg modules. You will need the source > > files for the pure python module to upload with App Engine. > > > > -Marzia > > > > > > On Thu, Oct 30, 2008 at 8:02 AM, Bradley Kite <[EMAIL PROTECTED]> > > wrote: > > > > > > > > Hi all, > > > > > > I'd like to use a pure-python module, however when ever I run my app > > > it complains that the python interpreter cannot find the module? > > > > > > What is the correct procedure for including 3rd party python modules > > > within app-engine applications? > > > > > > Thanks in advance > > > -- > > > Brad. > > > > > > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
