Skip to content

Commit 109ca94

Browse files
committed
Ensured hatch does not include irrelevant files in the distribution.
1 parent d4ed011 commit 109ca94

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
## Changelog 🔄
22
All notable changes to `semchunk` will be documented here. This project adheres to [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
33

4+
## [2.2.2] - 2024-12-18
5+
### Fixed
6+
- Ensured `hatch` does not include irrelevant files in the distribution.
7+
48
## [2.2.1] - 2024-12-17
59
### Changed
610
- Started benchmarking [`semantic-text-splitter`](https://pypi.org/project/semantic-text-splitter/) in parallel to ensure a fair comparison, courtesy of [@benbrandt](https://github.com/benbrandt) ([#17](https://github.com/umarbutler/semchunk/pull/12)).
@@ -83,6 +87,7 @@ All notable changes to `semchunk` will be documented here. This project adheres
8387
### Added
8488
- Added the `chunk()` function, which splits text into semantically meaningful chunks of a specified size as determined by a provided token counter.
8589

90+
[2.2.2]: https://github.com/umarbutler/semchunk/compare/v2.2.1...v2.2.2
8691
[2.2.1]: https://github.com/umarbutler/semchunk/compare/v2.2.0...v2.2.1
8792
[2.2.0]: https://github.com/umarbutler/semchunk/compare/v2.1.0...v2.2.0
8893
[2.1.0]: https://github.com/umarbutler/semchunk/compare/v2.0.0...v2.1.0

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "semchunk"
7-
version = "2.2.1"
7+
version = "2.2.2"
88
authors = [
99
{name="Umar Butler", email="[email protected]"},
1010
]
@@ -53,3 +53,6 @@ Homepage = "https://github.com/umarbutler/semchunk"
5353
Documentation = "https://github.com/umarbutler/semchunk/blob/main/README.md"
5454
Issues = "https://github.com/umarbutler/semchunk/issues"
5555
Source = "https://github.com/umarbutler/semchunk"
56+
57+
[tool.hatch.build.targets.sdist]
58+
only-include = ['src/semchunk/__init__.py', 'src/semchunk/py.typed', 'src/semchunk/semchunk.py', 'pyproject.toml', 'README.md', 'LICENCE', 'CHANGELOG.md', 'tests/bench.py', 'tests/test_semchunk.py', '.github/workflows/ci.yml']

0 commit comments

Comments
 (0)