From fd5f4b65dd464b7f080e0f33db8ece1b26038b56 Mon Sep 17 00:00:00 2001 From: James Morris Date: Thu, 27 May 2021 17:35:19 -0400 Subject: [PATCH] Prevent LICENSE, README.rst, and HISTORY.rst from being installed in site-packages Also let poetry find packages automatically rather than specify them explicitly --- pyproject.toml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ea5eac4c..bb1549e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,16 +9,10 @@ homepage = "https://github.com/pavdmyt/yaspin" repository = "https://github.com/pavdmyt/yaspin" documentation = "https://github.com/pavdmyt/yaspin/blob/master/README.rst" keywords = ["spinner", "console", "terminal", "loader", "indicator"] -packages = [ - { include = "yaspin" }, - { include = "tests", format = "sdist" }, - { include = "examples", format = "sdist" }, -] include = [ - "README.rst", - "HISTORY.rst", - "LICENSE", - "yaspin/data/spinners.json", + { path = "tests", format = "sdist" }, + { path = "examples", format = "sdist" }, + { path = "HISTORY.rst", format = "sdist"} ] classifiers = [ "Development Status :: 5 - Production/Stable",