Re: pyme3 for Windows

2017-01-24 Thread Justus Winter
ankostis  writes:
> On 24 January 2017 at 11:46, Justus Winter  wrote:
>> We cross-compile all our software for Windows using MinGW.  We don't
>> build the Python bindings though.  If anyone manages to do that, please
>> share your findings.
>>
>>
> Ideally python bindings should be compiled and packaged as wheels
> for  3 different "platforms":
> - MinGW
> - Cygwin (when GnuPG there upgrades from the old 1.x)
> - Gpg4Win (32bit & 64bit, don't know what are they using.

Gpg4Win uses MinGW, Cygwin is out of scope for us imho.

However, I believe the question is whether or not we can load a shared
library compiled with MinGW into the Python process (however that is
built, I don't know).

Justus


signature.asc
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: pyme3 for Windows

2017-01-24 Thread Justus Winter
ankostis <ankos...@gmail.com> writes:

> On 23 January 2017 at 16:28, Jerry <je...@seibercom.net> wrote:
>
>> On Mon, 23 Jan 2017 01:06:38 +0100, ankostis stated:
>>
>> >Has anybody managed to compile pyme3 on Windows?
>> >
>> >Thanks for all the Hard Work,
>> >  Kostis
>> >
>>
>> I don't know if this is what yo are looking for.
>>
>> https://sourceforge.net/projects/pyme/files/latest/download?source=files
>>
>>
> Almost!
> These are `pyme-0.8.1` win32-bindings for python-2.
>
> The latest bindings have been ported to python-3 and renamed to `pyme3`,
> currently in version `1.7.1`,[1]  and are now part of `libgpgme`
> project.[2]

Actually, we renamed them to 'gpg', and the current version is 1.8.0.

We cross-compile all our software for Windows using MinGW.  We don't
build the Python bindings though.  If anyone manages to do that, please
share your findings.

Justus


signature.asc
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: pyme3 for Windows

2017-01-24 Thread ankostis
On 24 January 2017 at 11:46, Justus Winter <jus...@g10code.com> wrote:

> ankostis <ankos...@gmail.com> writes:
>
> > On 23 January 2017 at 16:28, Jerry <je...@seibercom.net> wrote:
> >
> >> On Mon, 23 Jan 2017 01:06:38 +0100, ankostis stated:
> >>
> >> >Has anybody managed to compile pyme3 on Windows?
> >> >
> >> >Thanks for all the Hard Work,
> >> >  Kostis
> >> >
> >>
> >> I don't know if this is what yo are looking for.
> >>
> >> https://sourceforge.net/projects/pyme/files/latest/
> download?source=files
> >>
> >>
> > Almost!
> > These are `pyme-0.8.1` win32-bindings for python-2.
> >
> > The latest bindings have been ported to python-3 and renamed to `pyme3`,
> > currently in version `1.7.1`,[1]  and are now part of `libgpgme`
> > project.[2]
>
> Actually, we renamed them to 'gpg', and the current version is 1.8.0.
>
> We cross-compile all our software for Windows using MinGW.  We don't
> build the Python bindings though.  If anyone manages to do that, please
> share your findings.
>
>
Ideally python bindings should be compiled and packaged as wheels
for  3 different "platforms":
- MinGW
- Cygwin (when GnuPG there upgrades from the old 1.x)
- Gpg4Win (32bit & 64bit, don't know what are they using.

Do these 3 make sense?
Are there more combinations?

Kostis

Justus
>
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: pyme3 for Windows

2017-01-23 Thread ankostis
On 23 January 2017 at 16:28, Jerry <je...@seibercom.net> wrote:

> On Mon, 23 Jan 2017 01:06:38 +0100, ankostis stated:
>
> >Has anybody managed to compile pyme3 on Windows?
> >
> >Thanks for all the Hard Work,
> >  Kostis
> >
>
> I don't know if this is what yo are looking for.
>
> https://sourceforge.net/projects/pyme/files/latest/download?source=files
>
>
Almost!
These are `pyme-0.8.1` win32-bindings for python-2.

The latest bindings have been ported to python-3 and renamed to `pyme3`,
currently in version `1.7.1`,[1]  and are now part of `libgpgme` project.[2]

I need them compiled for python 3.5 & 3.6 (due to differences in MSVCR
Ithink).
- The easiest would be to be compatible with GPGvWin.[3]
- The optimal would be to include them in Gohlke's "Python Unofficial
binaries" [4],
  or upload them as a 32bit-wheel in PyPi.


So far I downloaded from GnuPG-downloads [5] and managed to compile
`Libgpg-error` and `Libassuan` dev-libraries using MinGW cross-compiler in
Debian.
But I do not know what to do next (or if this is the right path)?


Any more help appreciated, but thank you Jerry anyway,
  Kostis


[1] https://pypi.python.org/pypi/pyme3
[2] https://www.gnupg.org/blog/20160921-python-bindings-for-gpgme.html
[3] http://gpg4win.org/download.html
[4] http://www.lfd.uci.edu/~gohlke/pythonlibs/
[5] https://www.gnupg.org/download/index.html


--
> Jerry
>
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: pyme3 for Windows

2017-01-23 Thread Jerry
On Mon, 23 Jan 2017 01:06:38 +0100, ankostis stated:

>Has anybody managed to compile pyme3 on Windows?
>
>Thanks for all the Hard Work,
>  Kostis
>

I don't know if this is what yo are looking for.

https://sourceforge.net/projects/pyme/files/latest/download?source=files

-- 
Jerry

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


pyme3 for Windows

2017-01-22 Thread ankostis
Has anybody managed to compile pyme3 on Windows?

Thanks for all the Hard Work,
  Kostis
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users