Maybe move to pip as build frontend in makefile

It seems to me that installers are more likely to have pip installed
than build, so if we can get by using pip as the frontend in the
makefile, then we should.

pip does not have a way to build an sdist (tarball), so we'll have to
see if any of the packaging workflows depend on that. It does seem to
dump the source tree in dist/lib, but I'm not sure if that is part of
the API or not.
This commit is contained in:
toofar 2025-06-08 16:54:56 +12:00
parent f98a967b21
commit ed76333271
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ PIPOPTS = --root="$(DESTDIR)"
endif
all: man
# Builds a wheel and sdist (tarball) in dist/
$(PYTHON) -m build
# Builds a wheel in dist/
$(PYTHON) -m pip wheel --no-deps
man: doc/qutebrowser.1
doc/qutebrowser.1: doc/qutebrowser.1.asciidoc