From a5dad011905303dab6eddc61c525ef9f885e7f06 Mon Sep 17 00:00:00 2001 From: Sebastiaan Huber Date: Fri, 22 Dec 2023 13:34:29 +0100 Subject: [PATCH] Devops: Add various files and folder to package exclude list These should not be included in distributions uploaded to PyPI. --- pyproject.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 1304fd2..2c2aac5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,14 @@ dev = [ 'pytest-regressions~=2.0' ] +[tool.flit.sdist] +exclude = [ + '.github/', + 'tests/', + '.gitignore', + '.pre-commit-config.yaml' +] + [tool.pytest.ini_options] filterwarnings = [ 'ignore:Creating AiiDA configuration folder.*:UserWarning',