File: setuptools-include.patch

package info (click to toggle)
aiomysql 0.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 896 kB
  • sloc: python: 6,841; makefile: 79
file content (22 lines) | stat: -rw-r--r-- 588 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: Colin Watson <cjwatson@debian.org>
Date: Thu, 30 Oct 2025 11:15:27 +0000
Subject: Don't install docs/ or examples/

Last-Update: 2025-10-30
---
 pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 01eea6f..b9157f8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -58,7 +58,7 @@ build-backend = "setuptools.build_meta"
 platforms = ["POSIX"]
 
 [tool.setuptools.packages.find]
-exclude = ["tests", "tests.*"]
+include = ["aiomysql", "aiomysql.*"]
 
 [tool.setuptools_scm]
 write_to = "aiomysql/_scm_version.py"