From 83b5dfbc4f9e52d1730e851170c1a3e038834ed6 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 9 May 2024 16:00:53 +0200 Subject: [PATCH] Makefile: also build python wheel and source tgz --- miniupnpc/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/miniupnpc/Makefile b/miniupnpc/Makefile index 909e008..1d1aee7 100644 --- a/miniupnpc/Makefile +++ b/miniupnpc/Makefile @@ -3,7 +3,7 @@ # http://miniupnp.free.fr/ # https://miniupnp.tuxfamily.org/ # https://github.com/miniupnp/miniupnp -# (c) 2005-2023 Thomas Bernard +# (c) 2005-2024 Thomas Bernard # to install use : # $ make DESTDIR=/tmp/dummylocation install # or @@ -178,8 +178,11 @@ check: validateminixml validateminiwget validateupnpreplyparse \ everything: all $(EXECUTABLES_ADDTESTS) +# note : the python module "wheel" is required for bdist_wheel pythonmodule: $(LIBRARY) $(SRCDIR)/miniupnpcmodule.c setup.py MAKE=$(MAKE) python setup.py build + MAKE=$(MAKE) python setup.py sdist + MAKE=$(MAKE) python setup.py bdist_wheel --skip-build touch $@ installpythonmodule: pythonmodule