From c4c81fee03fd6604adeea8f7b1c180704fbeaac6 Mon Sep 17 00:00:00 2001 From: Mike Shriver Date: Mon, 3 Jul 2023 09:36:42 -0400 Subject: [PATCH] Set strict-naming=false for hatch wheel and sdist target options for strict-naming will build a wheel using the project name and unblock warehouse naming limitations from #230 --- pyproject.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 688bff4..ab1f1e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,14 @@ requires = ["hatchling", "hatch-vcs"] [tool.hatch.build.targets.wheel] packages = ["src/widgetastic"] +# https://github.com/RedHatQE/widgetastic.core/issues/230 +strict-naming = false + +[tool.hatch.build.targets.sdist] +packages = ["src/widgetastic"] +# https://github.com/RedHatQE/widgetastic.core/issues/230 +strict-naming = false + [tool.hatch.version] source = "vcs"