[google-appengine] Re: does GAE have pycrypto?

2009-02-08 Thread jonasgalvez

But surely it should available to GAE users since it used by GAE
itself, shouldn't it?

--Jonas Galvez

On Sat, Feb 7, 2009 at 11:04 PM, Alexander Kojevnikov
alexan...@kojevnikov.com wrote:

 On Feb 8, 8:23 am, Anthony acca...@gmail.com wrote:
 Thanks, that's what I've been doing locally.  So I suppose when I
 deploy to the GAE server, I should bundle all non-standard libraries
 with my application files?

 Yes, as long as they are pure-Python libraries. If a library uses C
 extensions, you cannot run it on App Engine:
 http://code.google.com/appengine/docs/python/runtime.html#Pure_Python

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: does GAE have pycrypto?

2009-02-07 Thread Anthony

Thanks, that's what I've been doing locally.  So I suppose when I
deploy to the GAE server, I should bundle all non-standard libraries
with my application files?

On Feb 7, 1:11 am, 陈浩 chenha...@gmail.com wrote:
 The module you import is not python standard library. Maybe you can
 find it in that sample folder or download it.

 On 2/7/09, Anthony acca...@gmail.com wrote:





  Hi,

  At the end of the OpenSocial gifts tutorial:
   http://code.google.com/apis/opensocial/articles/appengine-0.8.html

 pycryptois invoked on GAE to authenticate a signed request.  But when
  I try to do this myself, GAE can't find thepycryptomodules!  Am I
  doing something wrong?

  type 'exceptions.ImportError': No module named Crypto.PublicKey
  Traceback (most recent call last):
File /base/data/home/apps/accardi-dev/1.331241728430924979/
  gifts.py, line 8, in module
  import api
File /base/data/home/apps/accardi-dev/1.331241728430924979/api.py,
  line 15, in module
  from Crypto.PublicKey import RSA
  type 'exceptions.ImportError': No module named Crypto.PublicKey

 --
 This letter from ChenHao.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: does GAE have pycrypto?

2009-02-07 Thread Alexander Kojevnikov

On Feb 8, 8:23 am, Anthony acca...@gmail.com wrote:
 Thanks, that's what I've been doing locally.  So I suppose when I
 deploy to the GAE server, I should bundle all non-standard libraries
 with my application files?

Yes, as long as they are pure-Python libraries. If a library uses C
extensions, you cannot run it on App Engine:
http://code.google.com/appengine/docs/python/runtime.html#Pure_Python

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: does GAE have pycrypto?

2009-02-06 Thread 陈浩

The module you import is not python standard library. Maybe you can
find it in that sample folder or download it.

On 2/7/09, Anthony acca...@gmail.com wrote:

 Hi,

 At the end of the OpenSocial gifts tutorial:
  http://code.google.com/apis/opensocial/articles/appengine-0.8.html

 pycrypto is invoked on GAE to authenticate a signed request.  But when
 I try to do this myself, GAE can't find the pycrypto modules!  Am I
 doing something wrong?

 type 'exceptions.ImportError': No module named Crypto.PublicKey
 Traceback (most recent call last):
   File /base/data/home/apps/accardi-dev/1.331241728430924979/
 gifts.py, line 8, in module
 import api
   File /base/data/home/apps/accardi-dev/1.331241728430924979/api.py,
 line 15, in module
 from Crypto.PublicKey import RSA
 type 'exceptions.ImportError': No module named Crypto.PublicKey

 



-- 
This letter from ChenHao.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---