python bindings: python 3.7

* Bindings confirmed to work with the newly released 3.7.0.
* Updated M4 file to reflect this change and correct the Python binary
  search order (3.7 is not yet given priority, but will still be found
  first via the more generic python3 executable).
* Updated setup.py.in, bindings documentation and README to reflect this.
This commit is contained in:
Ben McGinnes 2018-06-29 14:26:30 +10:00
parent 48174b2bcc
commit 43a2b57545
5 changed files with 17 additions and 8 deletions

View File

@ -44,8 +44,8 @@ functionality of the underlying library.
═════════ ═════════
PyME was created by John Goerzen, and maintained, developed, and PyME was created by John Goerzen, and maintained, developed, and
cherished by Igor Belyi, Martin Albrecht, Ben McGinnes, and everyone cherished by Igor Belyi, Martin Albrecht, Ben McGinnes, Justus
who contributed to it in any way. Winter, and everyone who contributed to it in any way.
In 2016 we merged a port of PyME to into the GPGME repository, and 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 development will continue there. Please see the VCS history for the

View File

@ -27,8 +27,8 @@ Please report bugs using our bug tracker
* Authors * Authors
PyME was created by John Goerzen, and maintained, developed, and PyME was created by John Goerzen, and maintained, developed, and
cherished by Igor Belyi, Martin Albrecht, Ben McGinnes, and everyone cherished by Igor Belyi, Martin Albrecht, Ben McGinnes, Justus Winter,
who contributed to it in any way. and everyone who contributed to it in any way.
In 2016 we merged a port of PyME to into the GPGME repository, and 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 development will continue there. Please see the VCS history for the

View File

@ -14,7 +14,7 @@
:CUSTOM_ID: intro :CUSTOM_ID: intro
:END: :END:
| Version: | 0.1.1 | | Version: | 0.1.2 |
| Author: | Ben McGinnes <ben@gnupg.org> | | Author: | Ben McGinnes <ben@gnupg.org> |
| Author GPG Key: | DB4724E6FA4286C92B4E55C4321E4E2373590E5D | | Author GPG Key: | DB4724E6FA4286C92B4E55C4321E4E2373590E5D |
| Language: | Australian English, British English | | Language: | Australian English, British English |
@ -247,7 +247,7 @@
=python=, =python2= and =python2.7=. =python=, =python2= and =python2.7=.
For Python 3 it checks for these executables in this order: For Python 3 it checks for these executables in this order:
=python3=, =python3.6=, =python3.5= and =python3.4=. =python3=, =python3.6=, =python3.5=, =python3.4= and =python3.7=.[fn:4]
*** Installing GPGME *** Installing GPGME
@ -1777,3 +1777,7 @@
keyservers for "gnupg.org" produces over 400 results, the majority of keyservers for "gnupg.org" produces over 400 results, the majority of
which aren't actually at the gnupg.org domain, but just included a which aren't actually at the gnupg.org domain, but just included a
comment regarding the project in their key somewhere. comment regarding the project in their key somewhere.
[fn:4] As Python 3.7 is a very recent release, it is not given
priority over 3.6 yet, but will probably be prioritised by the release
of Python 3.7.2.

View File

@ -246,6 +246,7 @@ setup(name="gpg",
'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: POSIX', 'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows', 'Operating System :: Microsoft :: Windows',
'Topic :: Communications :: Email', 'Topic :: Communications :: Email',

View File

@ -39,8 +39,12 @@ AC_DEFUN([AM_PATH_PYTHON],
m4_define_default([_AM_PYTHON_INTERPRETER_LIST], m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
[python2 python2.7 dnl [python2 python2.7 dnl
python dnl python dnl
python3 python3.0 python3.1 python3.2 python3.3 dnl dnl old listing was pointless since biundings only work from Python 3.4:
python3.4 python3.5 python3.6 python3.7 python3.8]) dnl python3 python3.0 python3.1 python3.2 python3.3
dnl move 3.7 to the front once 3.7.1 or 3.7.2 is released:
dnl python3 python3.7 python3.6 python3.5 python3.4 python3.8])
dnl until then:
python3 python3.6 python3.5 python3.4 python3.7 python3.8])
AC_ARG_VAR([PYTHON], [the Python interpreter]) AC_ARG_VAR([PYTHON], [the Python interpreter])