From fce5b4d6ae31a93a5d54d600bfe6ffe5ab7b4409 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Tue, 26 Oct 2021 12:23:42 -0700 Subject: poetry style kitting --- Makefile | 7 ++++++- pyproject.toml | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) 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" -- cgit v1.2.1