From 97c7f872c1eb4e926f001f639f007b484f74cc17 Mon Sep 17 00:00:00 2001 From: Daniel Scheffler <danschef@gfz-potsdam.de> Date: Wed, 28 Aug 2024 12:34:09 +0200 Subject: [PATCH] Adapt MANIFEST.in to prevent some files from being packed during build process. Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de> --- MANIFEST.in | 12 ++++++++++-- pyproject.toml | 5 ----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index c53b26f1..1aab9bbc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,9 +4,17 @@ include HISTORY.rst include LICENSE include README.rst -recursive-exclude tests * +exclude .coveragerc +exclude .gitattributes +exclude .gitignore +exclude .gitlab-ci.yml +exclude MANIFEST.in + +recursive-exclude .github * +recursive-exclude docs * recursive-exclude examples * +recursive-exclude tests * recursive-exclude * __pycache__ recursive-exclude * *.py[co] -recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif +recursive-include *.rst conf.py Makefile make.bat *.jpg *.png *.gif diff --git a/pyproject.toml b/pyproject.toml index 093fc340..b8f3df4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -136,11 +136,6 @@ include-package-data = true license-files = ["LICENSE"] [tool.setuptools.packages.find] -exclude = [ - "docs*", - "examples*", - "tests*", -] namespaces = false [tool.setuptools.dynamic] -- GitLab