Blame SOURCES/Do-not-install-systemd-files-in-setup.py.patch
|
|
9c7608 |
From 88da522778fc6a7b256cda7f960912b439290538 Mon Sep 17 00:00:00 2001
|
|
|
9c7608 |
From: Matt Coleman <matt@datto.com>
|
|
|
9c7608 |
Date: Fri, 19 Jun 2020 19:06:24 -0400
|
|
|
9c7608 |
Subject: [PATCH] Do not install systemd files in setup.py
|
|
|
9c7608 |
|
|
|
9c7608 |
setuptools should not perform OS-specific actions such as installing systemd units.
|
|
|
9c7608 |
OS-specific actions should be handled by the package manager.
|
|
|
9c7608 |
---
|
|
|
9c7608 |
setup.py | 1 -
|
|
|
9c7608 |
1 file changed, 1 deletion(-)
|
|
|
9c7608 |
|
|
|
9c7608 |
diff --git a/setup.py b/setup.py
|
|
|
9c7608 |
index 4518165..8dff55e 100755
|
|
|
9c7608 |
--- a/setup.py
|
|
|
9c7608 |
+++ b/setup.py
|
|
|
9c7608 |
@@ -34,7 +34,6 @@ setup(
|
|
|
9c7608 |
'scripts/targetcli',
|
|
|
9c7608 |
'daemon/targetclid'
|
|
|
9c7608 |
],
|
|
|
9c7608 |
- data_files = [('/lib/systemd/system', ['systemd/targetclid.socket', 'systemd/targetclid.service'])],
|
|
|
9c7608 |
classifiers = [
|
|
|
9c7608 |
"Programming Language :: Python",
|
|
|
9c7608 |
"Programming Language :: Python :: 3",
|
|
|
9c7608 |
--
|
|
|
9c7608 |
2.27.0
|
|
|
9c7608 |
|