Skip to content

Commit adb1757

Browse files
committed
Change PYBUILD to use pyproject.toml
1 parent a1dc098 commit adb1757

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

debian/control

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Section: python
66
Priority: optional
77
Build-Depends: debhelper (>= 11),
88
Build-Depends-Indep: dh-python,
9+
pybuild-plugin-pyproject,
910
python3-all,
1011
python3-decorator (>= 4.0.10),
1112
python3-pytest,
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Index: python3-prometheus-client/pyproject.toml
2+
===================================================================
3+
--- python3-prometheus-client.orig/pyproject.toml
4+
+++ python3-prometheus-client/pyproject.toml
5+
@@ -47,3 +47,10 @@ Documentation = "https://prometheus.gith
6+
7+
[tool.setuptools.package-data]
8+
prometheus_client = ['py.typed']
9+
+
10+
+[tool.setuptools.data-files]
11+
+"tests" = ["tests/certs/", "tests/proc/"]
12+
+
13+
+[tool.setuptools.packages.find]
14+
+where = ["."]
15+
+exclude = ["debian"]

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
0001-import-unvendorized-decorator.patch
2+
0002-Update-pyproject.toml.patch

0 commit comments

Comments
 (0)