From ce48f6489f0bf8f519f934c168297dbf42948171 Mon Sep 17 00:00:00 2001 From: Kye Shi Date: Thu, 29 Apr 2021 19:09:15 -0700 Subject: [PATCH 1/2] Remove "tests" package from sdist installation --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6c3aea4d..9af861f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,9 +12,10 @@ repository = "https://github.com/sdispater/tomlkit" packages = [ {include = "tomlkit"}, - {include = "tests", format = "sdist"} ] +include = ["tests"] + [tool.poetry.dependencies] python = "~2.7 || ^3.5" From 1aa1ec1aea6a70dd26a575c67649fc83bab6aeb3 Mon Sep 17 00:00:00 2001 From: Kye Shi Date: Fri, 30 Apr 2021 12:37:55 -0700 Subject: [PATCH 2/2] Explicitly specify `format = "sdist"` for including tests --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9af861f9..a313eafb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ packages = [ {include = "tomlkit"}, ] -include = ["tests"] +include = [{ path = "tests", format = "sdist" }] [tool.poetry.dependencies] python = "~2.7 || ^3.5"