gpgme/lang/python
Ben Greiner 5844d9e700
build,python: Build Python bindings without distutils
* m4/python.m4: Add python3.12 and 3.11 as valid interpreters, remove
EOL 3.4, 3.5, 3.7 (keep 3.6 because some distributions still ship and
maintain it).
* lang/python/Makefile.am (clean-local): Remove dist and gpg.egg-info
created by Python 3.9+ on make install.
* lang/python/setup.py.in: switch from distutils to setuptools where
possible, remove obsolete and deprecated -py3 option of swig, add
classifiers up to 3.12, remove 3.4, 3.5, 3.7.
* lang/python/doc/src/gpgme-python-howto.org: replace distutils with
setuptools
* lang/python/examples/howto/advanced/cython/setup.py: replace distutils
with setuptools
--

This fixes building the Python bindings for Python 3.12 where distutils
has been removed.

Based on D545
2024-05-29 17:04:10 +02:00
..
doc build,python: Build Python bindings without distutils 2024-05-29 17:04:10 +02:00
examples build,python: Build Python bindings without distutils 2024-05-29 17:04:10 +02:00
src python,doc: Fix typos in documentation and source code comments 2023-10-13 09:22:36 +02:00
tests python,doc: Fix typos in documentation and source code comments 2023-10-13 09:22:36 +02:00
gpgme.i python,doc: Fix typos in documentation and source code comments 2023-10-13 09:22:36 +02:00
helpers.c python: Fix wrong use of write. 2023-05-23 15:52:25 +02:00
helpers.h python: Fix wrong use of write. 2023-05-23 15:52:25 +02:00
Makefile.am build,python: Build Python bindings without distutils 2024-05-29 17:04:10 +02:00
MANIFEST.in python: makefiles 2018-10-04 21:10:46 +10:00
private.h doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
README doc: convert more http:// links to https:// 2018-10-18 00:28:51 -04:00
README.org doc: convert more http:// links to https:// 2018-10-18 00:28:51 -04:00
setup.py.in build,python: Build Python bindings without distutils 2024-05-29 17:04:10 +02:00
version.py.in python: version as integers 2018-11-22 18:00:22 +11:00

                   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                    GPG - GPGME BINDINGS FOR PYTHON
                   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


Table of Contents
─────────────────

1 Mailing List
2 Bugs
3 Authors
4 History


The "gpg" module is a python interface to the GPGME library:
<https://www.gnupg.org/software/gpgme/>

"gpg" offers two interfaces, one is a high-level, curated, and idiomatic
interface that is implemented as a shim on top of the low-level
interface automatically created using SWIG.

This way we make simple things easy, while still providing the entire
functionality of the underlying library.


1 Mailing List
══════════════

  For general discussion and help see the gnupg-users mailing list:
  <https://lists.gnupg.org/mailman/listinfo/gnupg-users>

  For development see the gnupg-devel mailing list:
  <https://lists.gnupg.org/mailman/listinfo/gnupg-devel>


2 Bugs
══════

  Please report bugs using our bug tracker <https://bugs.gnupg.org> with
  tag (aka project) 'gpgme'.


3 Authors
═════════

  PyME was created by John Goerzen, and maintained, developed, and
  cherished by Igor Belyi, Martin Albrecht, Ben McGinnes, Justus
  Winter, and everyone who contributed to it in any way.

  In 2016 we merged a port of PyME to into the GPGME repository, and
  development will continue there.  Please see the VCS history for the
  list of contributors, and if you do find bugs, or want to contribute,
  please get in touch and help maintain the python gpg bindings.

  Please see the section 'History' further down this document for
  references to previous versions.


4 History
═════════

  • The python bindings were renamed from PyME to "gpg" in 2016.

  • The bindings have been merged into the GPGME repository in 2016.

  • The latest version of PyME for Python 3.2 and above (as of May,
    2015) is v0.9.1.  <https://git.gnupg.org/gpgme.git/lang/py3-pyme>

  • The latest version of PyME for Python 2.6 and 2.7 (as of this
    writing) is v0.9.0.  <https://bitbucket.org/malb/pyme>

  • A previous version of PyME v0.8.0 can be found on sourceforge:
    <http://pyme.sourceforge.net/>

  • A previous version of PyME v0.5.1 which works with GPGME v0.3.15 can
    be found on John Goerzen's PyME page: <http://quux.org/devel/pyme/>
    <https://www.complete.org/JohnGoerzen>