Skip to content

Commit 6fe23c6

Browse files
authored
Use include list instead of exclude list (#75)
* Use include list instead of exclude list for hatch build targets * CHANGELOG: use include list for hatch build targets
1 parent 31b0499 commit 6fe23c6

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ and this project adheres to
2424
- Updated l9format requirement from =1.3.2 to =1.4.0 ([ae676d9])
2525
- Updated l9format requirement from =1.4.0 to =2.0.0 ([df916e5], [#68])
2626
- Updated l9format requirement from =2.0.0 to =2.0.1 ([5764b2f], [#74])
27+
- Use explicit include lists instead of exclude lists for hatch build targets
28+
(sdist and wheel) in `pyproject.toml` ([aa9cc03], [#75])
2729

2830
### Fixed
2931

@@ -82,6 +84,7 @@ and this project adheres to
8284
[0.1.9]: https://github.com/LeakIX/LeakIXClient-Python/releases/tag/v0.1.9
8385

8486
<!-- Commit links -->
87+
[aa9cc03]: https://github.com/LeakIX/LeakIXClient-Python/commit/aa9cc03
8588
[5764b2f]: https://github.com/LeakIX/LeakIXClient-Python/commit/5764b2f
8689
[cfa8b6c]: https://github.com/LeakIX/LeakIXClient-Python/commit/cfa8b6c
8790
[6b9a3db]: https://github.com/LeakIX/LeakIXClient-Python/commit/6b9a3db
@@ -107,3 +110,4 @@ and this project adheres to
107110
[#68]: https://github.com/LeakIX/LeakIXClient-Python/pull/68
108111
[#72]: https://github.com/LeakIX/LeakIXClient-Python/pull/72
109112
[#74]: https://github.com/LeakIX/LeakIXClient-Python/pull/74
113+
[#75]: https://github.com/LeakIX/LeakIXClient-Python/pull/75

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ ignore_missing_imports = false
5252
testpaths = ["tests"]
5353
addopts = "-v"
5454

55+
[tool.hatch.build.targets.sdist]
56+
include = ["leakix/", "LICENSE", "README.md", "pyproject.toml"]
57+
58+
[tool.hatch.build.targets.wheel]
59+
include = ["leakix/"]
60+
5561
[build-system]
5662
requires = ["hatchling"]
5763
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)