From f45993d5657e2afb96e4a730b9033673af7ab0ef Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Tue, 14 Mar 2023 15:00:00 +0000 Subject: [PATCH] Include project files in sdist --- CHANGES.rst | 6 ++++++ pyproject.toml | 8 ++++++++ sphinxcontrib/jquery/__init__.py | 4 ++-- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 5a27a0d..27b4d11 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,9 @@ +Release 4.1 (14/03/2023) +========================== + +* Include ``tests/``, ``AUTHORS``, ``CHANGES.rst``, and ``LICENCE`` in the + source distribution ('sdist') file. No changes to functionality. + Release 4.0 (14/03/2023) ========================== diff --git a/pyproject.toml b/pyproject.toml index 1e617f9..da5074b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,5 +45,13 @@ name = "Adam Turner" [tool.flit.module] name = "sphinxcontrib.jquery" +[tool.flit.sdist] +include = [ + "AUTHORS", + "CHANGES.rst", + "LICENCE", + "tests/", +] + [tool.coverage.run] source = ["sphinxcontrib.jquery"] diff --git a/sphinxcontrib/jquery/__init__.py b/sphinxcontrib/jquery/__init__.py index c14ffa8..e060cd7 100644 --- a/sphinxcontrib/jquery/__init__.py +++ b/sphinxcontrib/jquery/__init__.py @@ -3,8 +3,8 @@ import sphinx -__version__ = "4.0" -version_info = (4, 0) +__version__ = "4.1" +version_info = (4, 1) _ROOT_DIR = path.abspath(path.dirname(__file__)) _FILES = (