From 4036d04fb05bcda23d284a8b296485c05dddd10d Mon Sep 17 00:00:00 2001
From: magicfelix <felix@felix-zauberer.de>
Date: Sat, 8 Jan 2022 15:46:46 +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 afc038a28..0f12d8dc5 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 كتاب السجل (class register and school records)"
 authors = [
-- 
GitLab