diff --git a/pyproject.toml b/pyproject.toml index b65e355..6e78b3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,25 @@ # pyproject.toml +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["src/monggregate"] + +[tool.hatch.build.targets.sdist] +include = [ + "/src", + "/LICENSE", + "/readme.md", + "/pyproject.toml", +] + [project] name = "monggregate" -version = "0.22.0" +version = "0.22.1" description = "MongoDB aggregation pipelines made easy. Joins, grouping, counting and much more..." -readme = "README.md" +readme = "readme.md" authors = [{ name = "Vianney Mixtur", email = "vianney.mixtur@outlook.fr" }] license = { file = "LICENSE" } classifiers = [ @@ -33,7 +48,7 @@ Homepage = "https://github.com/VianneyMI/monggregate" documentation = "https://vianneymi.github.io/monggregate/" [tool.bumpver] -current_version = "0.22.0" +current_version = "0.22.1" version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]" commit_message = "bump version {old_version} -> {new_version}" commit = true diff --git a/src/monggregate/__init__.py b/src/monggregate/__init__.py index fa94b1d..8050ce6 100644 --- a/src/monggregate/__init__.py +++ b/src/monggregate/__init__.py @@ -5,7 +5,7 @@ __all__ = ["Pipeline", "S", "SS"] -__version__ = "0.22.0" +__version__ = "0.22.1" __author__ = "Vianney Mixtur" __contact__ = "prenom.nom@outlook.fr" __copyright__ = "Copyright © 2022-2024 Vianney Mixtur"