summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2021-10-26 12:23:42 -0700
committerBob Halley <halley@dnspython.org>2021-10-26 12:23:42 -0700
commitfce5b4d6ae31a93a5d54d600bfe6ffe5ab7b4409 (patch)
tree2ef8388d9d736bfc514d092a4648c6e21c5103d2
parentef9826268ee9b2112fe0f8f26eb90496de5d4158 (diff)
downloaddnspython-fce5b4d6ae31a93a5d54d600bfe6ffe5ab7b4409.tar.gz
poetry style kitting
-rw-r--r--Makefile7
-rw-r--r--pyproject.toml19
2 files changed, 25 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2e120ae..76e7028 100644
--- 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'
diff --git a/pyproject.toml b/pyproject.toml
index ae662ed..65fb106 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -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"