From c988c96af7b34f9a3331954d0a3602986afda555 Mon Sep 17 00:00:00 2001 From: Kye Shi Date: Thu, 29 Apr 2021 19:55:48 -0700 Subject: [PATCH 1/3] Include tests in sdist --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 8077f32ec..01e8eb743 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ classifiers = [ packages = [ {include = "poetry"}, ] +include = ["tests"] exclude = [ "**/*.pyc", "**/*.pyi", From 5525c3c0adf897dfc1721557fea39ccdf5b01e70 Mon Sep 17 00:00:00 2001 From: Kye Shi Date: Fri, 30 Apr 2021 12:26:17 -0700 Subject: [PATCH 2/3] Explictly specify format = "sdist" for tests inclusion --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 01e8eb743..529d81fcd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ classifiers = [ packages = [ {include = "poetry"}, ] -include = ["tests"] +include = [{ path = "tests", format = "sdist" }] exclude = [ "**/*.pyc", "**/*.pyi", From 5f0fe085b008b27a9aa0a44b22ddb0fcf1faf0fb Mon Sep 17 00:00:00 2001 From: Kye Shi Date: Fri, 30 Apr 2021 16:33:51 -0700 Subject: [PATCH 3/3] Fix indentation in pyproject.toml --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 529d81fcd..f623645ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,9 @@ classifiers = [ packages = [ {include = "poetry"}, ] -include = [{ path = "tests", format = "sdist" }] +include = [ + { path = "tests", format = "sdist" }, +] exclude = [ "**/*.pyc", "**/*.pyi",