diff --git a/{{cookiecutter.project_name}}/pyproject.toml b/{{cookiecutter.project_name}}/pyproject.toml index 4105e62..d3fbbc7 100644 --- a/{{cookiecutter.project_name}}/pyproject.toml +++ b/{{cookiecutter.project_name}}/pyproject.toml @@ -41,6 +41,9 @@ dev-dependencies = [ requires = ["setuptools >= 61.0"] build-backend = "setuptools.build_meta" +[tool.setuptools] +py-modules = ["{{cookiecutter.project_slug}}"] + [tool.mypy] files = ["{{cookiecutter.project_slug}}"] disallow_untyped_defs = true