From 994d24d288080e924e039ca0a7b0b0dfc2355ac1 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 25 Apr 2017 13:15:02 +0200 Subject: [PATCH] Band-aid for pip dependency bug pip install foo foo[more] does not install the extra dependencies 'more' of foo. It's a known bug in pip, see https://github.com/pypa/pip/issues/4391#issuecomment-290712930 and https://github.com/pypa/pip/issues/988 The same bug applies to pip wheel. As a workaround pip wheel first builds extra dependencies, then wheel dependencies. This ensures that ipaclient[otptoken_yubikey] dependencies get built properly. Signed-off-by: Christian Heimes Reviewed-By: Martin Basti --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 7608dfa63..cbe4f2df4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -295,7 +295,7 @@ wheel_bundle: $(WHEELBUNDLEDIR) bdist_wheel .wheelconstraints --find-links $(WHEELDISTDIR) \ --find-links $(WHEELBUNDLEDIR) \ --wheel-dir $(WHEELBUNDLEDIR) \ - $(IPA_WHEEL_PACKAGES) $(IPA_EXTRA_WHEELS) + $(IPA_EXTRA_WHEELS) $(IPA_WHEEL_PACKAGES) pypi_packages: $(WHEELPYPIDIR) .wheelconstraints rm -f $(WHEELPYPIDIR)/*