From 109ca943711d7f1b99398310563897517ae87d1a Mon Sep 17 00:00:00 2001 From: Umar Butler Date: Wed, 18 Dec 2024 09:54:00 +1100 Subject: [PATCH] Ensured `hatch` does not include irrelevant files in the distribution. --- CHANGELOG.md | 5 +++++ pyproject.toml | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 266feb2..8371959 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ ## Changelog 🔄 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). +## [2.2.2] - 2024-12-18 +### Fixed +- Ensured `hatch` does not include irrelevant files in the distribution. + ## [2.2.1] - 2024-12-17 ### Changed - 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 ### Added - Added the `chunk()` function, which splits text into semantically meaningful chunks of a specified size as determined by a provided token counter. +[2.2.2]: https://github.com/umarbutler/semchunk/compare/v2.2.1...v2.2.2 [2.2.1]: https://github.com/umarbutler/semchunk/compare/v2.2.0...v2.2.1 [2.2.0]: https://github.com/umarbutler/semchunk/compare/v2.1.0...v2.2.0 [2.1.0]: https://github.com/umarbutler/semchunk/compare/v2.0.0...v2.1.0 diff --git a/pyproject.toml b/pyproject.toml index 7a7bba1..3e4a058 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "semchunk" -version = "2.2.1" +version = "2.2.2" authors = [ {name="Umar Butler", email="umar@umar.au"}, ] @@ -53,3 +53,6 @@ Homepage = "https://github.com/umarbutler/semchunk" Documentation = "https://github.com/umarbutler/semchunk/blob/main/README.md" Issues = "https://github.com/umarbutler/semchunk/issues" Source = "https://github.com/umarbutler/semchunk" + +[tool.hatch.build.targets.sdist] +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'] \ No newline at end of file