From af9cfc35f4288608bbe16f1718a3c3d8d7dacdcd Mon Sep 17 00:00:00 2001 From: magicfelix <felix@felix-zauberer.de> Date: Sat, 8 Jan 2022 15:51:28 +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 d160821..fa6a0b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,14 @@ packages = [ { include = "aleksis" } ] readme = "README.rst" -include = ["CHANGELOG.rst", "LICENCE.rst", "aleksis/**/*.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 Hjelp (FAQ, issue reporting and support)" authors = ["Julian Leucker <leuckeju@katharineum.de>", "Frank Poetzsch-Heffter <p-h@katharineum.de>", "Jonathan Weth <dev@jonathanweth.de>", "Hangzhi Yu <yuha@katharineum.de>", "Tom Teichler <tom.teichler@teckids.org>"] -- GitLab