1--- a/Makefile.am
2+++ b/Makefile.am
3@@ -59,11 +59,11 @@ dbus/org.fedoraproject.Config.Printing.service: dbus/org.fedoraproject.Config.Pr
4
5 # Use distutils to build the module.
6 all-local: .stamp-distutils-in-builddir config.py cupshelpers/config.py
7- $(PYTHON) setup.py build
8+ $(PYTHON) -m build --no-isolation --outdir dist/ --wheel
9
10 # Use distutils to install the module.
11 install-exec-local: .stamp-distutils-in-builddir
12- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
13+ $(PYTHON) -m installer --prefix=$(prefix) dist/*.whl
14
15 # Uninstall the module, crossing our fingers that we know enough
16 # about how distutils works to do this. Unfortunately, distutils