[web2py] Re: PGP Mail Confusion

2011-10-02 Thread horridohobbyist
Well, I tried something goofy... I downloaded and ran pygpgme-0.8.1.win32.exe against a Python 2.7 installation on my PC. Then I *moved* the resultant folder ('pyme') over to the site-packages folder of web2py. Now I can successfully import. However, it won't work as per the sample code in the web

Re: [web2py] Re: PGP Mail Confusion

2011-10-02 Thread Martin Weissenboeck
I have followed the link and got the "setuptools-0.6c11" for Windows (32 bit). I have several versions of Python on my PC. The setuptools find the installed version of Python 2.5, but it seems that it does not allow to install to web2py. And if somebody does not have Python 2.5 installed? I think

Re: [web2py] Re: PGP Mail Confusion

2011-10-02 Thread Michele Comitini
No you cannot install python modules from within web2py. Not yet at least. You have to install using easy_install. http://packages.python.org/distribute/easy_install.html#installing-easy-install mic Il giorno 02/ott/2011 21:11, "horridohobbyist" ha scritto: > Okay, now I'm *really* confused.

[web2py] Re: PGP Mail Confusion

2011-10-02 Thread horridohobbyist
Okay, now I'm *really* confused. web2py has nothing to do with any python installation on my Windows PC. So the question is, how do you install python-pyme from within web2py? Does the web2py book talk about this?? Richard On Oct 2, 2:50 pm, horridohobbyist wrote: > Like I said, I'm new to pytho

[web2py] Re: PGP Mail Confusion

2011-10-02 Thread horridohobbyist
Like I said, I'm new to python and web2py. I'm just starting to get into it with the official web2py book. My preliminary search reveals that I may have to build the python-pyme stuff. I'm using web2py under Windows 7. I'm not sure how to proceed. (Things like SWIG puzzle me.) Is there a quick wa

[web2py] Re: PGP Mail Confusion

2011-10-02 Thread szimszon
You don't have to import anything it's done automatically by the framework. But you need to install python-pyme. (If I remember well the package python-pyme depends on libgpgme11). So install python-pyme and spicify sign_passphrase and other. And have a gnupg settings for web2py user. That is y