From 15fbac9e72a4d1bff9a3b9e9822f9175b09fbcd5 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Fri, 17 Feb 2017 17:07:05 +0100 Subject: python: Support manipulating the TOFU policy. * NEWS: Update. * doc/gpgme.texi: Fix typos. * lang/python/gpg/constants/__init__.py: Import new files. * lang/python/gpg/constants/tofu/__init__.py: New file. * lang/python/gpg/constants/tofu/policy.py: New file. * lang/python/gpg/core.py (Context.key_tofu_policy): New function. * lang/python/gpgme.i: Nice reprs for gpgme_tofu_info_t. * lang/python/setup.py.in: Install new package. * lang/python/tests/t-quick-key-manipulation.py: Extend test. Signed-off-by: Justus Winter --- lang/python/setup.py.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang/python/setup.py.in') diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in index e32237dd..bf4efa31 100755 --- a/lang/python/setup.py.in +++ b/lang/python/setup.py.in @@ -172,7 +172,8 @@ setup(name="gpg", url='https://www.gnupg.org', ext_modules=[swige], packages = ['gpg', 'gpg.constants', 'gpg.constants.data', - 'gpg.constants.keylist', 'gpg.constants.sig'], + 'gpg.constants.keylist', 'gpg.constants.sig', + 'gpg.constants.tofu'], license="LGPL2.1+ (the library), GPL2+ (tests and examples)", classifiers=[ 'Development Status :: 4 - Beta', -- cgit v1.2.3