gpgme/lang/python/tests
Justus Winter fe65a26ab5
python: Use one copy of the source tree per Python version.
* lang/python/Makefile.am (copystamp): Create one copy per Python
version.
(all-local): Adapt.
(clean-local): Likewise.
(install-exec-local): Likewise.
* lang/python/tests/run-tests.py: Likewise.
--

Currently, we use one copy of the Python module's source to build for
all Python versions.  This is problematic, because SWIG writes a
wrapper file into the source tree.  Currently, this file works with
both Python 2 and 3, but this is purely by chance.

Improve the situation by creating one copy per Python version so that
SWIG can write version-specific code into each copy.

Signed-off-by: Justus Winter <justus@g10code.com>
2017-02-13 16:44:53 +01:00
..
encrypt-only.asc python: Add an idiomatic interface. 2016-07-15 18:28:09 +02:00
final.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
initial.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
Makefile.am python: Ensure quick-random is used if gpg is gpg2 2017-01-26 10:44:02 +01:00
run-tests.py python: Use one copy of the source tree per Python version. 2017-02-13 16:44:53 +01:00
sign-only.asc python: Add an idiomatic interface. 2016-07-15 18:28:09 +02:00
support.py python: Check "buffer" when writing to sys.stdout for python2 compat. 2016-12-01 17:39:38 +01:00
t-callbacks.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-data.py python: Import the topmost module in tests and examples. 2016-10-31 15:42:35 +01:00
t-decrypt-verify.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-decrypt.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-edit.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-encrypt-large.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-encrypt-sign.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-encrypt-sym.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-encrypt.py python: Try to be more helpful when given a string to encrypt(). 2016-12-05 12:44:20 +01:00
t-export.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-file-name.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-idiomatic.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-import.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-keylist.py python: default op_keylist_start parameters. 2017-01-25 17:47:35 +01:00
t-protocol-assuan.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-sig-notation.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-sign.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-signers.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-trustlist.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-verify.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-wait.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-wrapper.py python: Import the topmost module in tests and examples. 2016-10-31 15:42:35 +01:00