aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/setup.py.in
diff options
context:
space:
mode:
authorAlon Bar-Lev <[email protected]>2016-09-29 07:30:58 +0000
committerJustus Winter <[email protected]>2016-09-30 12:47:26 +0000
commit453ab9d24ca48c9e01d21e1454d6b08de1938b76 (patch)
tree8e275037655f48da32e97277c2a32d963d3c8f07 /lang/python/setup.py.in
parentpython: Add 'prepare' target. (diff)
downloadgpgme-453ab9d24ca48c9e01d21e1454d6b08de1938b76.tar.gz
gpgme-453ab9d24ca48c9e01d21e1454d6b08de1938b76.zip
python: Link 'data.h' and 'config.h' into the builddir.
* lang/python/Makefile.am: Link to the files. * lang/python/gpgme.i: Update path. * lang/python/setup.py.in: Do not add the top builddir to the include path. -- To make it easy to build the subpackage using standard tools without altering environment or CFLAGS, symlink the required artifacts from source tree into subpackage directory when preparing sources. Signed-off-by: Alon Bar-Lev <[email protected]>
Diffstat (limited to 'lang/python/setup.py.in')
-rwxr-xr-xlang/python/setup.py.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
index 7af2d485..4c41673a 100755
--- a/lang/python/setup.py.in
+++ b/lang/python/setup.py.in
@@ -39,10 +39,6 @@ if os.path.exists("../../src/gpgme-config"):
in_tree = True
gpgme_config = ["../../src/gpgme-config"] + gpgme_config_flags
gpgme_h = "../../src/gpgme.h"
- if 'top_builddir' in os.environ:
- include_dirs.append(os.environ['top_builddir'])
- # Make sure that SWIG finds config.h when processing gpgme.i.
- extra_swig_opts.append("-I{0}".format(os.environ['top_builddir']))
library_dirs = ["../../src/.libs"] # XXX uses libtool internals
extra_macros.update(
HAVE_CONFIG_H=1,