diff --git a/{{cookiecutter.python_name}}/pyproject.toml b/{{cookiecutter.python_name}}/pyproject.toml index 61e9729b..eb62b964 100644 --- a/{{cookiecutter.python_name}}/pyproject.toml +++ b/{{cookiecutter.python_name}}/pyproject.toml @@ -47,8 +47,8 @@ Homepage = "{{ cookiecutter.repository }}" artifacts = ["{{ cookiecutter.python_name }}/labextension"] [tool.hatch.build.targets.wheel.shared-data] -"{{ cookiecutter.python_name }}/labextension" = "share/jupyter/labextensions/{{ cookiecutter.python_name }}" -"install.json" = "share/jupyter/labextensions/{{ cookiecutter.python_name }}/install.json"{% if cookiecutter.kind.lower() == "server" %} +"{{ cookiecutter.python_name }}/labextension" = "share/jupyter/labextensions/{{ cookiecutter.labextension_name }}" +"install.json" = "share/jupyter/labextensions/{{ cookiecutter.labextension_name }}/install.json"{% if cookiecutter.kind.lower() == "server" %} "jupyter-config/server-config" = "etc/jupyter/jupyter_server_config.d" "jupyter-config/nb-config" = "etc/jupyter/jupyter_notebook_config.d"{% endif %}