From e7d9c0c3d773f826dbd2ed417d04e25c410f3374 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 3 Apr 2017 15:44:14 +0200 Subject: python: Fix vpath builds, fix distcheck. * lang/python/gpgme-h-clean.py: Delete file. * lang/python/MANIFEST.in: Adapt accordingly. * lang/python/Makefile.am (EXTRA_DIST): Likewise. (COPY_FILES_GPG): Bring variable back. (copystamp): Copy files. (clean-local): Delete copied files. (install-exec-local): Do not create and install list of installed files. (uninstall-local): Instead, create some explicit rules to uninstall the extension. * lang/python/setup.py.in: Parse arguments. Locate files either in the source directory, or in the build base directory. Inline the code from 'gpgme-h-clean.py'. Copy 'helpers.c', add source directory as include directory. Fixes-commit: 801d7d8c5dd530d26ad6c4bcc94d986e6e022da4 Signed-off-by: Justus Winter --- lang/python/MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/python/MANIFEST.in') diff --git a/lang/python/MANIFEST.in b/lang/python/MANIFEST.in index 8f63640a..ff38172d 100644 --- a/lang/python/MANIFEST.in +++ b/lang/python/MANIFEST.in @@ -1,4 +1,4 @@ recursive-include examples *.py -include gpgme-h-clean.py gpgme.i +include gpgme.i include helpers.c helpers.h private.h recursive-include gpg *.py -- cgit v1.2.3