]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Fix uv globbing.
authorBob Halley <halley@dnspython.org>
Sun, 28 Jun 2026 01:00:10 +0000 (18:00 -0700)
committerBob Halley <halley@dnspython.org>
Sun, 28 Jun 2026 01:00:10 +0000 (18:00 -0700)
Source kit builds were not longer including the tests, examples,
and utilities because the glob stopped matching.  Previously we
were using an "absolute" syntax starting with "/" but this doesn't
seem to work now.

Also, added tests/tsigkeys/*.key to the glob so they are included.

pyproject.toml

index e031d88c19f8340c1033c51ba9cba5fdbeddb2e2..d99431c4288320475707bcac19ba3e885d632985 100644 (file)
@@ -59,22 +59,23 @@ issues = "https://github.com/rthalley/dnspython/issues"
 module-name = "dns"
 module-root = ""
 source-include = [
-    "/dns/*.py",
-    "/dns/**/*.py",
-    "/dns/py.typed",
-    "/examples/*.txt",
-    "/examples/*.py",
-    "/tests/*.txt",
-    "/tests/*.py",
-    "/tests/*.good",
-    "/tests/example",
-    "/tests/query",
-    "/tests/*.pickle",
-    "/tests/*.text",
-    "/tests/*.generic",
-    "/tests/tls/*.crt",
-    "/tests/tls/*.pem",
-    "/util/**",
+    "dns/*.py",
+    "dns/**/*.py",
+    "dns/py.typed",
+    "examples/*.txt",
+    "examples/*.py",
+    "tests/*.txt",
+    "tests/*.py",
+    "tests/*.good",
+    "tests/example",
+    "tests/query",
+    "tests/*.pickle",
+    "tests/*.text",
+    "tests/*.generic",
+    "tests/tls/*.crt",
+    "tests/tls/*.pem",
+    "tests/tsigkeys/*.key",
+    "util/**",
 ]
 source-exclude = [
     ".pytest_cache",