From 6902930c7b9fe27a91e46e0c5213c6d381cadc5a Mon Sep 17 00:00:00 2001 From: magicfelix <felix@felix-zauberer.de> Date: Sat, 8 Jan 2022 15:55:12 +0100 Subject: [PATCH] Do not include non-package files in wheel --- pyproject.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 62cc081..6ea0c9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,14 @@ packages = [ { include = "aleksis" } ] readme = "README.rst" -include = ["CHANGELOG.rst", "LICENCE.rst", "aleksis/**/locale/*.mo"] +include = [ + { path = "aleksis/**/*.mo", format = ["sdist", "wheel"] }, + { path = "*.rst", format = "sdist" }, + { path = "docs/*", format = "sdist" }, + { path = "docs/**/*", format = "sdist" }, + { path = "conftest.py", format = "sdist" }, + { path = "tox.ini", format = "sdist" } +] description = "AlekSIS (School Information System) — App for Untis import" authors = ["Dominik George <dominik.george@teckids.org>", "Julian Leucker <leuckeju@katharineum.de>", "Frank Poetzsch-Heffter <p-h@katharineum.de>", "Jonathan Weth <dev@jonathanweth.de>", "Tom Teichler <tom.teichler@teckids.org>", "mirabilos <thorsten.glaser@teckids.org>"] -- GitLab