File: 01.omit-resource-files-from-distutils-setup.patch

package info (click to toggle)
python-coverage 7.8.2%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,188 kB
  • sloc: python: 31,123; ansic: 1,184; javascript: 773; makefile: 304; sh: 107; xml: 48
file content (31 lines) | stat: -rw-r--r-- 842 bytes parent folder | download | duplicates (2)
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 :