File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ dbus/org.fedoraproject.Config.Printing.service: dbus/org.fedoraproject.Config.Pr
5959
6060# Use distutils to build the module.
6161all-local : .stamp-distutils-in-builddir config.py cupshelpers/config.py
62- $(PYTHON ) setup.py build
62+ $(PYTHON ) -m build
6363
6464# Use distutils to install the module.
6565install-exec-local : .stamp-distutils-in-builddir
66- $(PYTHON ) setup.py install --root $(DESTDIR ) --prefix=$(prefix )
66+ $(PYTHON ) -m pip install --root $(DESTDIR ) --prefix=$(prefix ) .
6767
6868# Uninstall the module, crossing our fingers that we know enough
6969# about how distutils works to do this. Unfortunately, distutils
Original file line number Diff line number Diff line change @@ -88,6 +88,9 @@ Build requirements:
8888 - desktop-file-install
8989 - intltool
9090 - xmlto
91+ - gcc
92+ - python3-setuptools
93+ - python3-build
9194
9295Runtime requirements:
9396---------------------
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ autopoint --force
33aclocal
44automake --foreign --copy --add-missing
55autoconf
6+ rm README
67
78# If this is a git repository, and git-merge-changelog is available,
89# use it.
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools>=61.0" ]
3+ build-backend = " setuptools.build-meta"
4+
5+ [project ]
6+ name = " cupshelpers"
7+ version = " 1.0"
8+ description = " Helper functions and classes for using CUPS"
9+ authors = [
10+ { name = " Tim Waugh" , email = " twaugh@redhat.com" },
11+ { name = " Till Kamppeter" , email = " till.kamppeter@gmail.com" },
12+ { name = " Jiri Popelka" , email = " jpopelka@redhat.com" },
13+ { name = " Zdenek Dohnal" , email = " zdohnal@redhat.com" },
14+ ]
15+ license = { file = " COPYING" }
16+ readme = " README.md"
17+ classifiers = [
18+ " Programming Language :: Python :: 3" ,
19+ " License :: OSI Approved :: GPL 2 or later" ,
20+ " Operating System :: Linux" ,
21+ ]
22+ requires-python = " >=3.7"
23+
24+ [project .urls ]
25+ "Homepage" = " https://github.com/OpenPrinting/system-config-printer"
26+ "Bug Tracker" = " https://github.com/OpenPrinting/system-config-printer/issues"
You can’t perform that action at this time.
0 commit comments