Skip to content

Commit

Permalink
build: move exlcudes to hatch.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
vidstige committed May 26, 2024
1 parent 8548520 commit e0275f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 10 additions & 0 deletions hatch.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
[version]
source = "vcs"

[build.targets.wheel]
only-packages = true

[build.targets.sdist]
exclude = [
".pylintrc",
".github/workflows/",
"test_data/",
"tests/",
]
12 changes: 0 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
]

0 comments on commit e0275f7

Please sign in to comment.