From 0ca96e001ddb1fbd7b7fbaf29dd32fd1993a3aa2 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Fri, 1 Dec 2023 11:06:45 +0100
Subject: [PATCH] [py] Moved sdist include/excludes to pyproject.toml.

---
 MANIFEST.in    | 3 ---
 pyproject.toml | 2 ++
 2 files changed, 2 insertions(+), 3 deletions(-)
 delete mode 100644 MANIFEST.in

diff --git a/MANIFEST.in b/MANIFEST.in
deleted file mode 100644
index d6880d958c9..00000000000
--- a/MANIFEST.in
+++ /dev/null
@@ -1,3 +0,0 @@
-prune Tests/Data
-prune web
-include web/data/versions.json
\ No newline at end of file
diff --git a/pyproject.toml b/pyproject.toml
index 913b30825a2..fc1fb96568e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -29,6 +29,8 @@ metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
 minimum-version = "0.5.0"
 ninja.make-fallback = false
 wheel.packages = ["Applications/Python/ogs"]
+sdist.exclude = ["Tests/Data", "web"]
+sdist.include = ["web/data/versions.json"]
 
 [tool.scikit-build.metadata.scripts]
 provider = "scripts"
-- 
GitLab