details:   https://code.tryton.org/tryton/commit/f6f8c6aa4316
branch:    default
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
diffstat:

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

diffs (12 lines):

diff -r 2a1ecd1da4a1 -r f6f8c6aa4316 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