From e3884b72f92888f6ebd251c5d748ba35c796d7ca Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Fri, 17 Mar 2023 16:52:11 -0500 Subject: [PATCH] build: include test in sdist (#2282) A perhaps minor regression from earlier versions is that the sdist does not include the test folder, which makes it harder for downstreams to use a single source of truth to build and test a reliable package. This restores the test folder for sdists. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8329fb6ce..aa53bdac7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,9 @@ readme = "README.md" packages = [ { include = "rdflib" }, ] +include = [ + { path = "test", format = "sdist" }, +] [tool.poetry.scripts] rdfpipe = 'rdflib.tools.rdfpipe:main'