File: setup_find_packages.patch

package info (click to toggle)
python-selectolax 0.4.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 708 kB
  • sloc: python: 2,239; makefile: 225
file content (28 lines) | stat: -rw-r--r-- 906 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
23
24
25
26
27
28
From: =?utf-8?q?Karsten_Sch=C3=B6ke?= <karsten.schoeke@geobasis-bb.de>
Date: Sun, 8 Mar 2026 15:50:08 +0100
Subject: pyproject.toml: Use and define [tools.setuptools.packages.find]
Setuptools found a subdirectory or module named selectolax.lexbor
in the source code, but it wasn't explicitly
included in the list of packages to be installed.

Therefore, it was added to pyproject.toml.

Forwarded: https://github.com/rushter/selectolax/pull/213
Applied-Upstream: https://github.com/rushter/selectolax/pull/213/commits/6c31521136d1bf6705dc8d20aa4c75010f8b2ea2

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

diff --git a/pyproject.toml b/pyproject.toml
index 0590b65..744739e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -86,3 +86,7 @@ cython = [
 [tool.cython-lint]
 max-line-length = 120
 ignore = ['E221', 'E222', ]
+
+[tool.setuptools.packages.find]
+include = ["selectolax*"] 
+