Problems with pip install gpg

Bjarni Runar Einarsson bre at pagekite.net
Wed Dec 21 12:13:01 CET 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello GnuPG!

I'm very glad to hear that you've made Python a first-class
citizen of the GPGME world.

Unfortunately, pip install, doesn't appear to work:

    $ pip install gpg
    Downloading/unpacking gpg
    Downloading gpg-1.8.0.tar.gz
    Running setup.py (path:/tmp/pip-build-sz2de8/gpg/setup.py) egg_info for package gpg
       Need at least GPGME version 1.7, found 1.5.5.
       Complete output from command python setup.py egg_info:
       Need at least GPGME version 1.7, found 1.5.5.

This is on Ubuntu 15.10. At the AME workshop last week I noticed
others having similar difficulties on other distros. Everyone
ended up using other Python libraries as a result.

Generally, mature python libraries take care to either include
logic to build their C dependencies as part of pip install, or
the packager provides binaries (or both).

Since the subset of Python devs that are also comfortable as C
developers is relatively small, this is actually a nontrivial
barrier to entry. I know that for my (Mailpile's) developer
community, I can't really make GPGME a requirement until this is
a bit easier - I'd lose all my contributors and testers!

Thanks for your consideration,
 - Bjarni

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJYWmOwAAoJEI4ANxYAz5SRPBYH/RfVU84HBrFSOwlOhWvsStCk
q5tCJoBDIX54d2S94FZNqcnNrw/fHRePnOsYTnKVxOvbDMnyB1u4QDJnrp/d+8bO
CJMyrGm0za6r7auHWbJxzLLSI7wINHwqYyDu62a4o/HoijOEhl65tjPHB11WakOa
HK/oPINX5r+OJR/zAyh1IG0a8OJe5FqZ9RlTvTTE3nVIXXLHcQvx6TIlxUVxVX5C
m4Niqg2hP/ZRahHBQpb2ghCoqZ7TXrKj4yxhY1xVKos5eW6lDUlovrxwJ7ytsk7F
NJlFdwDhD+GdqyJYA57CgsxICDD5AzDyFuOTMgqk1I21aG7rdCe8JsCxV1KhOFM=
=dByI
-----END PGP SIGNATURE-----


More information about the Gnupg-devel mailing list