diff --git a/.gitignore b/.gitignore index 3341342..c14ba94 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,5 @@ _tmp* tests/od/extra-compare* *.od *.json +!/src/objdictgen/schema/*.json *.jsonc diff --git a/pyproject.toml b/pyproject.toml index b9a1d1a..be6b170 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,14 @@ [build-system] -requires = ["uv_build>=0.9.5,<0.10.0"] -build-backend = "uv_build" +requires = ["hatchling"] +build-backend = "hatchling.build" [project] name = "objdictgen" -version = "3.5.4" +version = "3.5.5" +description = "CanFestival Object Dictionary tool" authors = [ - {name = "Svein Seldal", email = "sveinse@laerdal.com"}, + {name = "Svein Seldal", email = "svein.seldal@laerdal.com"}, ] -description = "CanFestival Object Dictionary tool" readme = "README.md" license = "LGPL-2.1-or-later" requires-python = ">=3.10,<4" @@ -36,6 +36,8 @@ dependencies = [ ui = [ "wxPython", ] + +[dependency-groups] dev = [ "ruff", "mypy", @@ -56,9 +58,17 @@ Repository = "https://github.com/Laerdal/python-objdictgen" [project.scripts] odg = "objdictgen.__main__:main" -[tool.uv.build-backend] -source-include = [ - "tests/**", +[tool.hatch.build.targets.wheel] +packages = ["src/objdictgen"] + +[tool.hatch.build.targets.sdist] +include = [ + "/packaging", + "/src/objdictgen", + "/tests", +] +exclude = [ + "/tests/od/extra-compare", ] [tool.pytest.ini_options]