File: 0002-Include-data-files-like-translations.patch

package info (click to toggle)
django-phonenumber-field 8.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 572 kB
  • sloc: python: 1,917; makefile: 22; sh: 6
file content (22 lines) | stat: -rw-r--r-- 538 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Michael Fladischer <fladi@debian.org>
Date: Sun, 19 Nov 2023 13:58:54 +0000
Subject: Include data files like translations.

---
 pyproject.toml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
index c7be8cd..babbb1c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -69,3 +69,9 @@ build-backend = "setuptools.build_meta"
 
 [tool.setuptools_scm]
 write_to = "phonenumber_field/version.py"
+
+[tool.setuptools]
+include-package-data = true
+
+[tool.setuptools.package-data]
+"*" = ["*.mo"]