Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 1 | From 4309ce76351b1685d08b3ba55d4f62b3e53ef76b Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 1 Mar 2022 19:06:35 -0800 |
| 4 | Subject: [PATCH] setup.py: Use setuptools instead of distutils |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | --- |
| 9 | setup.py.in | 2 +- |
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | |
| 12 | --- a/setup.py.in |
| 13 | +++ b/setup.py.in |
| 14 | @@ -2,20 +2,17 @@ |
| 15 | # -*- coding: utf-8 -*- |
| 16 | |
| 17 | import sys |
| 18 | -from distutils.core import setup |
| 19 | +from setuptools import setup, find_packages |
| 20 | |
| 21 | setup(name="slip", version="@VERSION@", |
| 22 | py_modules=["slip.__init__", "slip.util.__init__", |
| 23 | "slip.util.hookable", "slip.util.files", |
| 24 | - "slip._wrappers.__init__", "slip._wrappers._glib"], |
| 25 | - requires=["selinux"]) |
| 26 | - |
| 27 | -setup(name="slip.dbus", version="@VERSION@", |
| 28 | - py_modules=["slip.dbus.__init__", "slip.dbus.bus", |
| 29 | + "slip._wrappers.__init__", "slip._wrappers._glib", |
| 30 | + "slip.dbus.__init__", "slip.dbus.bus", |
| 31 | "slip.dbus.constants", "slip.dbus.introspection", |
| 32 | "slip.dbus.mainloop", "slip.dbus.polkit", "slip.dbus.proxies", |
| 33 | "slip.dbus.service"], |
| 34 | - requires=["dbus", "decorator", "StringIO", "xml.etree.ElementTree"]) |
| 35 | + requires=["dbus", "decorator", "selinux", "StringIO", "xml.etree.ElementTree"]) |
| 36 | |
| 37 | if sys.version_info.major == 2: |
| 38 | setup(name="slip.gtk", version="@VERSION@", |