diff --git a/pyproject.toml b/pyproject.toml index cc76d67c8..10f0b5213 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,8 @@ artifacts = ["src/wtforms/locale/**/*.mo"] [tool.hatch.build.hooks.custom] dependencies = [ - "Babel>=2.6.0" + "Babel>=2.6.0", + "setuptools; python_version>='3.12'", ] [tool.pytest.ini_options]