Skip to content

Commit e52b8bf

Browse files
authored
Merge pull request #67 from LeakIX/dw/update-project-toml
Use include list instead of exclude list
2 parents 73b2d2c + a2e77ba commit e52b8bf

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ and this project adheres to
88

99
## [Unreleased]
1010

11+
### Changed
12+
13+
- Use explicit include lists instead of exclude lists for hatch build targets
14+
(sdist and wheel) in `pyproject.toml` ([953d604], [#67])
15+
1116
### Infrastructure
1217

1318
- CI: move shellcheck into its own dedicated workflow, separate from changelog
@@ -196,6 +201,7 @@ and this project adheres to
196201

197202
<!-- Commit links -->
198203

204+
[953d604]: https://github.com/LeakIX/l9format-python/commit/953d604
199205
[72bf877]: https://github.com/LeakIX/l9format-python/commit/72bf877
200206
[c9216ba]: https://github.com/LeakIX/l9format-python/commit/c9216ba
201207
[fa582dc]: https://github.com/LeakIX/l9format-python/commit/fa582dc
@@ -297,4 +303,5 @@ and this project adheres to
297303
[#62]: https://github.com/LeakIX/l9format-python/pull/62
298304
[#64]: https://github.com/LeakIX/l9format-python/pull/64
299305
[#65]: https://github.com/LeakIX/l9format-python/pull/65
306+
[#67]: https://github.com/LeakIX/l9format-python/pull/67
300307
[#43]: https://github.com/LeakIX/l9format-python/issues/43

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ dev = [
3030
requires = ["hatchling"]
3131
build-backend = "hatchling.build"
3232

33+
[tool.hatch.build.targets.sdist]
34+
include = ["l9format/", "LICENSE", "README.md", "pyproject.toml"]
35+
36+
[tool.hatch.build.targets.wheel]
37+
include = ["l9format/"]
38+
3339
[tool.ruff]
3440
line-length = 80
3541

0 commit comments

Comments
 (0)