From: Bob Halley Date: Tue, 26 Oct 2021 19:23:42 +0000 (-0700) Subject: poetry style kitting X-Git-Tag: v2.2.0rc1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fce5b4d6ae31a93a5d54d600bfe6ffe5ab7b4409;p=thirdparty%2Fdnspython.git poetry style kitting --- diff --git a/Makefile b/Makefile index 2e120ae9..76e70286 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 ae662ed8..65fb106f 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"