diff --git a/pyproject.toml b/pyproject.toml index 0dc108f6..d5f84bd4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,6 @@ exclude = [ "/conftest.py", "/github-logo.png", "/tox.toml", - "/toxfile.py", "/web.png", ] diff --git a/toxfile.py b/tools/tox_plugins/dynamic_version/__init__.py similarity index 100% rename from toxfile.py rename to tools/tox_plugins/dynamic_version/__init__.py diff --git a/tools/tox_plugins/pyproject.toml b/tools/tox_plugins/pyproject.toml new file mode 100644 index 00000000..52fe4575 --- /dev/null +++ b/tools/tox_plugins/pyproject.toml @@ -0,0 +1,18 @@ +[build-system] +requires = [ + "hatchling", +] +build-backend = "hatchling.build" + +[project] +name = "ahriman-tox-plugins" +classifiers = [ + "Framework :: tox", +] +version = "1" + +[project.entry-points.tox] +dynamic-version = "dynamic_version" + +[tool.hatch.build.targets.wheel] +packages = ["dynamic_version"] diff --git a/tox.toml b/tox.toml index 17dfaeff..5963579a 100644 --- a/tox.toml +++ b/tox.toml @@ -3,6 +3,7 @@ env_list = [ "tests", ] requires = [ + "ahriman-tox-plugins @ file://{tox_root}/tools/tox_plugins", "tox-uv", ] labels.release = [