From c073eb62f79ee0d62f99d5d09efb72270ae60d7c Mon Sep 17 00:00:00 2001 From: Alex Rogozhnikov Date: Mon, 9 Sep 2024 04:57:56 +0000 Subject: [PATCH] exclude folders from pypi package build --- pyproject.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index ca6cda9..870a3f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,3 +51,19 @@ ignore_missing_imports = true [tool.pytest.ini_options] cache_dir = "/tmp/.common_pytest_cache" + + +[tool.hatch.build.targets.sdist] +exclude = [ + "/.devcontainer", + "/.github", + "/.idea", + "/.vscode", + "/.pytest_cache", + "/assets", + "/downloads", + "/outputs", +] + +[tool.hatch.build.targets.wheel] +# should use packages from sdist section \ No newline at end of file