From 511b13f93fcb8a2938ef340fc86ba5230b02bf80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 30 Jul 2026 18:05:27 +0200 Subject: [PATCH] Include documentation, tests and auxiliary files in sdist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #12 Signed-off-by: Michał Górny --- changelog.d/20260730_180321_mgorny.rst | 4 ++++ pyproject.toml | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 changelog.d/20260730_180321_mgorny.rst diff --git a/changelog.d/20260730_180321_mgorny.rst b/changelog.d/20260730_180321_mgorny.rst new file mode 100644 index 0000000..8fcceec --- /dev/null +++ b/changelog.d/20260730_180321_mgorny.rst @@ -0,0 +1,4 @@ +Changed +------- + +* Include documentation, tests and auxiliary files in the source distribution. (:issue:`12`) diff --git a/pyproject.toml b/pyproject.toml index 941ff3e..28349f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,6 +74,19 @@ enable_error_code = [ warn_unreachable = true +# poetry-core +# ----------- + +[tool.poetry] +include = [ + { path = ".gitignore", format = "sdist" }, + { path = "CHANGELOG.rst", format = "sdist" }, + { path = "docs/", format = "sdist" }, + { path = "requirements/", format = "sdist" }, + { path = "tests/", format = "sdist" }, + { path = "tox.ini", format = "sdist" }, +] + # pytest # ------