From: Debian Python Team <team+python@tracker.debian.org>
Date: Sun, 2 Mar 2025 10:27:15 +0100
Subject: manual-data-files-installation

Remove data file installation from setup.py

Manual handling is required due to the inflexibility of distutils.
---
 setup.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/setup.py b/setup.py
index d13854a..e1ebafc 100644
--- a/setup.py
+++ b/setup.py
@@ -55,11 +55,4 @@ setup(
             "autosuspend = autosuspend:main",
         ],
     },
-    data_files=[
-        ("etc", ["data/autosuspend.conf", "data/autosuspend-logging.conf"]),
-        (
-            "lib/systemd/system",
-            ["data/autosuspend.service", "data/autosuspend-detect-suspend.service"],
-        ),
-    ],
 )
