From 3db03a3f517747256e4d33df369a99c19d3a072a Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 15 Jul 2015 01:16:56 +0900 Subject: [PATCH] Exclude python bindings for `make distcheck` setuptools does now allow us to install custom location without hack. Also it does not provide uninstall feature, and `make uninstall` leaves several files we cannot easily remove (e.g., easy-install.pth). Therefore, it is better just exclude python bindings from `make distcheck`. --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.am b/Makefile.am index 831b317d..d1a7dd16 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,11 @@ SUBDIRS = lib third-party src examples python tests integration-tests \ doc contrib script +# Now with python setuptools, make uninstall will leave many files we +# cannot easily remove (e.g., easy-install.pth). Disable it for +# distcheck rule. +AM_DISTCHECK_CONFIGURE_FLAGS = --disable-python-bindings + ACLOCAL_AMFLAGS = -I m4 dist_doc_DATA = README.rst