gpgme/lang/python/examples/howto
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
..
advanced/cython build,python: Build Python bindings without distutils 2024-05-29 17:04:10 +02:00
add-userid.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
clear-sign-file.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
create-key.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
decrypt-file.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
detach-sign-file.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
encrypt-file.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
encrypt-sign-file.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
encrypt-to-group-gullible.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
encrypt-to-group-trustno1.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
encrypt-to-group.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
export-key.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
export-minimised-key.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
export-secret-key.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
export-secret-keys.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
groups.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
import-key.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
import-keybasekey.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
import-keys-hkp.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
import-keys.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
import-mailvelope-keys.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
keycount.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
local-sign-group.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
mutt-groups.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
pmkey-import-alt.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
pmkey-import-hkp-alt.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
pmkey-import-hkp.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
pmkey-import.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
post_installer.py python: post installer script 2019-01-27 16:02:24 +11:00
README.org doc: python bindings examples 2018-03-20 08:39:49 +11:00
requirements.txt python: howto examples equirements 2018-12-12 23:01:16 +11:00
revoke-userid.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
send-key-to-keyserver.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
sign-file.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
sign-key.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
symcrypt-file.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
temp-homedir-config.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
verify-signatures.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00
verify-signed-file.py python,examples: Add missing word "License" 2023-10-13 09:08:39 +02:00

GPGME Python Bindings HOWTO Examples

Examples

The contents of this directory are the examples included in the GNU Privacy Guard (GnuPG) Made Easy Python Bindings HOWTO file. Each script is explicitly for Python 3 and specifically for Python 3.4 or later.

Some of these scripts may work with Python 2.7, but there are no guarantees. They will include the relevant imports from the __future__ module to facilitate that if possible.