details:   https://code.tryton.org/tryton/commit/1ed177c3573e
branch:    8.0
user:      Cédric Krier <[email protected]>
date:      Thu Jun 18 19:09:35 2026 +0200
description:
        Use package name as target for module with prefix

        The entrypoint is pointing to the package name when using prefix so the 
target
        should also.

        Closes #14814
        (grafted from f6f8c6aa4316eeb7a73500c9dbc0ccd196aba62d)
diffstat:

 cookiecutter-module/{{ cookiecutter.module_name }}/pyproject.toml |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e05755a36a07 -r 1ed177c3573e cookiecutter-module/{{ 
cookiecutter.module_name }}/pyproject.toml
--- a/cookiecutter-module/{{ cookiecutter.module_name }}/pyproject.toml Tue Jun 
16 13:19:12 2026 +0200
+++ b/cookiecutter-module/{{ cookiecutter.module_name }}/pyproject.toml Thu Jun 
18 19:09:35 2026 +0200
@@ -68,7 +68,7 @@
 
 [tool.hatch.build.targets.wheel.sources]
 {%- if cookiecutter.prefix %}
-"" = "{{ cookiecutter.module_name }}"
+"" = "{{ cookiecutter.package_name }}"
 {%- else %}
 "" = "trytond/modules/{{ cookiecutter.module_name }}"
 {%- endif %}

Reply via email to