summaryrefslogtreecommitdiffstats
path: root/Makefile.python.am
diff options
context:
space:
mode:
authorChristian Heimes <cheimes@redhat.com>2016-10-27 14:04:58 +0200
committerMartin Basti <mbasti@redhat.com>2016-11-16 22:58:39 +0100
commit8346e1b067483d4d836627a267805bbe8d6e7efa (patch)
treee4206cfe30c39cfcc7aebfa8937ea1620c623822 /Makefile.python.am
parent6ca96b3db03d4f3c5dbf465ca3d36bd563771c47 (diff)
downloadfreeipa-8346e1b067483d4d836627a267805bbe8d6e7efa.tar.gz
freeipa-8346e1b067483d4d836627a267805bbe8d6e7efa.tar.xz
freeipa-8346e1b067483d4d836627a267805bbe8d6e7efa.zip
Add install requirements to Python packages
https://fedorahosted.org/freeipa/ticket/6468 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'Makefile.python.am')
-rw-r--r--Makefile.python.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.python.am b/Makefile.python.am
index c9c1a1fc5..2d6285348 100644
--- a/Makefile.python.am
+++ b/Makefile.python.am
@@ -44,3 +44,9 @@ dist-hook:
if test -x "$(srcdir)/$${FILEN}"; then MODE=755; else MODE=644; fi; \
$(INSTALL) -D -m $${MODE} "$(srcdir)/$${FILEN}" "$(distdir)/$${FILEN}" || exit $$?; \
done
+
+WHEELDISTDIR = $(top_builddir)/dist/wheels
+.PHONY: bdist_wheel
+bdist_wheel:
+ rm -rf $(WHEELDISTDIR)/$(pkgname)*.whl
+ $(PYTHON) "$(srcdir)/setup.py" bdist_wheel --dist-dir=$(WHEELDISTDIR)