From efcb8989b878157377dd5aa22086470c10790768 Mon Sep 17 00:00:00 2001 From: "M. Kocher" Date: Thu, 22 Aug 2024 19:54:33 -0700 Subject: [PATCH] More fixes to fix issue with hatchling build --- Makefile | 2 +- pydantic_cli/_version.py | 2 +- pyproject.toml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6ed2e14..27e38fa 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ test: pytest -package: +pkg: hatch build diff --git a/pydantic_cli/_version.py b/pydantic_cli/_version.py index 73d4c8b..6dcf770 100644 --- a/pydantic_cli/_version.py +++ b/pydantic_cli/_version.py @@ -1 +1 @@ -__version__ = "8.0.0" +__version__ = "9.0.0" diff --git a/pyproject.toml b/pyproject.toml index c2c36d8..1482b1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,6 +34,9 @@ allow-direct-references = true [tool.hatch.build.targets.wheel] packages = ['pydantic_cli', 'pydantic_cli.examples'] +[tool.hatch.bulid.targets.wheel.sources] +src = "pydantic_cli" + [tool.hatch.version] path = "pydantic_cli/_version.py"