Message ID | 20250407181116.1070816-1-yselkowi@redhat.com |
---|---|
State | New |
Headers | show |
Series | [libgpiod] bindings: python: build with pip | expand |
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am index 2ae8ac8..c6b1b31 100644 --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -36,7 +36,7 @@ clean-local: all-local: python-tests CFLAGS="-I$(abs_top_srcdir)/include/ -I$(abs_top_srcdir)/tests/gpiosim \ -L$(abs_top_builddir)/lib/.libs/ -L$(abs_top_builddir)/tests/gpiosim/.libs/" \ - $(PYTHON) -m build + $(PYTHON) -m pip wheel --wheel-dir dist . install-exec-local: $(PYTHON) -m pip install dist/*.whl \
'pip install' is already used, so build with 'pip wheel'. This avoids a dependency on the Python 'build' module, which has many dependencies, and is not necessarily available when building packages (such as in RHEL). Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com> --- bindings/python/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)