From 351bf66d71f53daa8ab04a0abd77a9175d461b7a Mon Sep 17 00:00:00 2001 From: mhaehnel Date: Thu, 2 Jan 2025 01:52:07 +0100 Subject: [PATCH] Fix install path for CHANGELOG.md (#258) The file should not be installed directly in site-packages. Use the correct include syntax to include them into the source distribution package only. --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e3cd6be5..709c269c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,10 @@ classifiers = [ 'Topic :: System :: Distributed Computing', 'Topic :: Software Development :: Libraries :: Python Modules', ] -include = ['CHANGELOG.md'] + +include = [ + { path = "CHANGELOG.md", format = "sdist" }, +] [tool.poetry.plugins] # Optional super table