]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
poetry style kitting
authorBob Halley <halley@dnspython.org>
Tue, 26 Oct 2021 19:23:42 +0000 (12:23 -0700)
committerBob Halley <halley@dnspython.org>
Tue, 26 Oct 2021 19:23:42 +0000 (12:23 -0700)
Makefile
pyproject.toml

index 2e120ae967036b86af95ccbbf9eb5c1658f348ea..76e70286284ad1de87350713d974724f79d9f578 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -69,6 +69,11 @@ pocov:
        poetry run coverage html --include 'dns*'
        poetry run coverage report --include 'dns*'
 
-pokit:
+oldpokit:
        po run python setup.py sdist --formats=zip bdist_wheel
 
+pokit:
+       po build
+
+findjunk:
+       find dns -type f | egrep -v '.*\.py' | egrep -v 'py\.typed'
index ae662ed8171791cc717d378aabb14a129c154d49..65fb106ffe8950cc28caea45afed043e61905b90 100644 (file)
@@ -7,6 +7,25 @@ license = "ISC"
 packages = [
     {include = "dns"}
 ]
+include = [
+    { path="LICENSE", format="sdist" },
+    { path="README.md", format="sdist" },
+    { path="examples/*.txt", format="sdist" },
+    { path="examples/*.py", format="sdist" },
+    { path="tests/*.txt", format="sdist" },
+    { path="tests/*.py", format="sdist" },
+    { path="tests/*.good", format="sdist" },
+    { path="tests/example", format="sdist" },
+    { path="tests/query", format="sdist" },
+    { path="tests/*.pickle", format="sdist" },
+    { path="tests/*.text", format="sdist" },
+    { path="tests/*.generic", format="sdist" },
+    { path="util/**", format="sdist" },
+]
+exclude = [
+    "**/.DS_Store",
+    "**/__pycache__/**",
+]
 
 [tool.poetry.dependencies]
 python = "^3.6"