Package: python-coverage / 7.6.0+dfsg1-2

01.omit-resource-files-from-distutils-setup.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Omit the resource data files from Python packaging config.
 .
 Created to avoid Python's Distutils insistence on install of
 arch-independent ‘package_data’ files in ‘/usr/lib/…’. This is a violation
 of FHS, and these files should instead go to ‘/usr/share/…’.
Bug-Debian: http://bugs.debian.org/721676
Author: Ben Finney <bignose@debian.org>
Last-Update: 2024-07-12

diff --git old/setup.py new/setup.py
--- old/setup.py
+++ new/setup.py
@@ -84,7 +84,6 @@ setup_args = dict(
     ],
     package_data={
         "coverage": [
-            "htmlfiles/*.*",
             "py.typed",
         ],
     },


Local variables:
coding: utf-8
mode: diff
time-stamp-format: "%:y-%02m-%02d"
time-stamp-start: "^Last-Update:[ 	]+"
time-stamp-end: "$"
time-stamp-line-limit: 20
End:
vim: fileencoding=utf-8 filetype=diff :