diff options
author | Justus Winter <[email protected]> | 2017-02-15 10:31:27 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-02-15 15:36:30 +0000 |
commit | 27544d0a74267ab6057dc816ea3311bc9149a200 (patch) | |
tree | d0d1bd98e5dc4f11753313c6f17170eb6be25f7e /lang/python/setup.py.in | |
parent | python: Update lists of functions returning gpgme_error_t. (diff) | |
download | gpgme-27544d0a74267ab6057dc816ea3311bc9149a200.tar.gz gpgme-27544d0a74267ab6057dc816ea3311bc9149a200.zip |
python: Fix build system integration.
* lang/python/Makefile.am (copystamp): Also copy the setup script, and
link the header files.
(all-local): Use local setup script.
(sdist): Fix Python source distribution creation.
(CLEANFILES): Remove now obsolete files.
(install-exec-local): Use local setup script.
* lang/python/setup.py.in: Adjust relative paths to in-tree files.
Fixes-commit: fe65a26ab584bd70fad45c7c4d44330e30a748a4
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/setup.py.in')
-rwxr-xr-x | lang/python/setup.py.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in index 5b5d5bec..e32237dd 100755 --- a/lang/python/setup.py.in +++ b/lang/python/setup.py.in @@ -34,12 +34,12 @@ in_tree = False extra_swig_opts = [] extra_macros = dict() -if os.path.exists("../../src/gpgme-config"): +if os.path.exists("../../../src/gpgme-config"): # In-tree build. in_tree = True - gpgme_config = ["../../src/gpgme-config"] + gpgme_config_flags - gpgme_h = "../../src/gpgme.h" - library_dirs = ["../../src/.libs"] # XXX uses libtool internals + gpgme_config = ["../../../src/gpgme-config"] + gpgme_config_flags + gpgme_h = "../../../src/gpgme.h" + library_dirs = ["../../../src/.libs"] # XXX uses libtool internals extra_macros.update( HAVE_CONFIG_H=1, HAVE_DATA_H=1, |