blob: 1208769b2f6e405e4330cd1a7960a325a8f6a0ea [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001From 4309ce76351b1685d08b3ba55d4f62b3e53ef76b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 1 Mar 2022 19:06:35 -0800
4Subject: [PATCH] setup.py: Use setuptools instead of distutils
5
6Upstream-Status: Pending
7Signed-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@",