yoctoproject / bmaptool

BMAP Tools
GNU General Public License v2.0
27 stars 13 forks source link

installation fails because libgpgme cannot be found #25

Open HerrMuellerluedenscheid opened 7 months ago

HerrMuellerluedenscheid commented 7 months ago

I ran apt install libgpgme-dev which installed as expected. pip install fails with:

Collecting gpg>=1.10.0
  Using cached gpg-1.10.0.tar.gz (39 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      Could not find gpgme-config.  Please install the libgpgme development package.
      [end of output]

On python 3.11.2

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:    12
Codename:   bookworm
HerrMuellerluedenscheid commented 7 months ago

Stems from the gpg bindings (which are 6 years old) https://pypi.org/project/gpg/#history

Maybe switch to python cryptography module?