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 1/2] 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 # ------ From cbf38db62d7a03a0f8324f9b94bc1fc47b101b34 Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Thu, 30 Jul 2026 14:05:13 -0500 Subject: [PATCH 2/2] Update project metadata --- CHANGELOG.rst | 10 ++++++++++ changelog.d/20260730_180321_mgorny.rst | 4 ---- pyproject.toml | 7 ++++--- 3 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 changelog.d/20260730_180321_mgorny.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 267615d..9c5c848 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -20,6 +20,16 @@ Please see the fragment files in the `changelog.d directory`_. .. scriv-insert-here +.. _changelog-2.0.1: + +2.0.1 - 2026-07-30 +================== + +Changed +------- + +* Include documentation, tests, and supporting files in the source distribution. (:issue:`12`) + .. _changelog-2.0.0: 2.0.0 - 2026-07-30 diff --git a/changelog.d/20260730_180321_mgorny.rst b/changelog.d/20260730_180321_mgorny.rst deleted file mode 100644 index 8fcceec..0000000 --- a/changelog.d/20260730_180321_mgorny.rst +++ /dev/null @@ -1,4 +0,0 @@ -Changed -------- - -* Include documentation, tests and auxiliary files in the source distribution. (:issue:`12`) diff --git a/pyproject.toml b/pyproject.toml index 28349f0..b69b2cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "feedparser-sgmllib" description = "sgmllib from Python 2.7. For feedparser use only." -version = "2.0.0" +version = "2.0.1" maintainers = [ { name = "Kurt McKee", email = "contactme@kurtmckee.org" }, ] @@ -74,8 +74,8 @@ enable_error_code = [ warn_unreachable = true -# poetry-core -# ----------- +# poetry +# ------ [tool.poetry] include = [ @@ -87,6 +87,7 @@ include = [ { path = "tox.ini", format = "sdist" }, ] + # pytest # ------