f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
16 lines
676 B
Diff
16 lines
676 B
Diff
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -59,11 +59,11 @@ dbus/org.fedoraproject.Config.Printing.service: dbus/org.fedoraproject.Config.Pr
|
|
|
|
# Use distutils to build the module.
|
|
all-local: .stamp-distutils-in-builddir config.py cupshelpers/config.py
|
|
- $(PYTHON) setup.py build
|
|
+ $(PYTHON) -m build --no-isolation --outdir dist/ --wheel
|
|
|
|
# Use distutils to install the module.
|
|
install-exec-local: .stamp-distutils-in-builddir
|
|
- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
|
|
+ $(PYTHON) -m installer --prefix=$(prefix) dist/*.whl
|
|
|
|
# Uninstall the module, crossing our fingers that we know enough
|
|
# about how distutils works to do this. Unfortunately, distutils
|