diff --git a/hatch.toml b/hatch.toml index 2742d1a..bcee0f2 100644 --- a/hatch.toml +++ b/hatch.toml @@ -1,3 +1,13 @@ [version] source = "vcs" +[build.targets.wheel] +only-packages = true + +[build.targets.sdist] +exclude = [ + ".pylintrc", + ".github/workflows/", + "test_data/", + "tests/", +] diff --git a/pyproject.toml b/pyproject.toml index 9fec9fe..b48d5e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,15 +33,3 @@ build-backend = "hatchling.build" [tool.hatch.version] source = "vcs" - -[tool.hatch.build.targets.wheel] -only-packages = true - -[tool.hatch.build.targets.sdist] -exclude = [ - ".pylintrc", - ".gitignore", - ".github/workflows/", - "test_data/", - "tests/", -]