From b280c7bb0192485dfb622c731e31deb89d517b6f Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 15 Mar 2017 10:46:36 +0100 Subject: Add PYTHON_INSTALL_EXTRA_OPTIONS and --install-layout=deb Debian packages should be installed under dist-packages, not site-packages. Debian has patched distutils and setuptools to add a new flag '--install-layout'. For --with-ipaplatform=debian, PYTHON_INSTALL_EXTRA_OPTIONS is set to '--install-layout=deb'. https://pagure.io/freeipa/issue/6764 Signed-off-by: Christian Heimes Reviewed-By: Timo Aaltonen Reviewed-By: Martin Basti --- Makefile.python.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.python.am') diff --git a/Makefile.python.am b/Makefile.python.am index f158ff5df..7d30ff19c 100644 --- a/Makefile.python.am +++ b/Makefile.python.am @@ -28,7 +28,8 @@ install-exec-local: $(top_builddir)/ipasetup.py --prefix "$(DESTDIR)$(prefix)" \ --single-version-externally-managed \ --record "$(DESTDIR)$(pkgpythondir)/install_files.txt" \ - --optimize 1; \ + --optimize 1 \ + $(PYTHON_INSTALL_EXTRA_OPTIONS); \ fi uninstall-local: -- cgit