From fb1bb55f20b2cc132e6c83a59c2adc35d3684584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 11 Mar 2023 11:09:00 +0100 Subject: [PATCH] Include tests in sdist archives Include the "tests" directory in sdist archives, to permit Linux distributions to use these archives instead of GitHub snapshots that are not reliable long-term. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 66f932a..49a65b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,9 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Topic :: Software Development :: Libraries" ] +include = [ + {path = "tests", format = "sdist"}, +] [tool.poetry.dependencies] jsonschema = "^4.0.0"