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 web2py
book.

One issue is that, when I ran the above win32 exe, I got the following
warnings:

Could not create ...
pygpgme-py2.7

Could not set key value
Python 2.7 pygpgme-0.8.1

Could not set key value
"C:\Python27\Removegpgpme.exe" -u "C:\Python27\pygpgme-wininst.log"

I am unable to find any explanation for these warnings.

This is getting ridiculous. web2py is supposed to be easy and
straightforward. How hard can it be to get PGP mail working??

Richard

On Oct 2, 3:58 pm, Martin Weissenboeck <mweis...@gmail.com> wrote:
> 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 there should be a step-to-step instruction and somebody should try
> all of these steps. If necessary I am ready to try it.
>
> Regards, Martin
>
> 2011/10/2 Michele Comitini <michele.comit...@gmail.com>
>
>
>
>
>
>
>
> > 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-ea...
>
> > mic
> > Il giorno 02/ott/2011 21:11, "horridohobbyist" <horrido.hobb...@gmail.com>
> > ha scritto:
>
> > > 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 <horrido.hobb...@gmail.com> wrote:
> > >> 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 way to do all this? Thanks.
>
> > >> Regards,
> > >> Richard
>
> > >> On Oct 2, 1:58 pm, szimszon <szims...@gmail.com> wrote:
>
> > >> > 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 you should be able to sign and encrypt message (like text file)
> > with the
> > >> > user running web2py.

Reply via email to