diff --git a/cookiecutter-module/{{ cookiecutter.module_name }}/pyproject.toml b/cookiecutter-module/{{ cookiecutter.module_name }}/pyproject.toml index 7813313692..81d327e7b8 100644 --- a/cookiecutter-module/{{ cookiecutter.module_name }}/pyproject.toml +++ b/cookiecutter-module/{{ cookiecutter.module_name }}/pyproject.toml @@ -68,7 +68,7 @@ dev-mode-dirs = ["."] [tool.hatch.build.targets.wheel.sources] {%- if cookiecutter.prefix %} -"" = "{{ cookiecutter.module_name }}" +"" = "{{ cookiecutter.package_name }}" {%- else %} "" = "trytond/modules/{{ cookiecutter.module_name }}" {%- endif %}