blob: 1b02a548564f4cc1536f96544c733daad65271ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- 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
|