@@ -6,7 +6,7 @@ requires = [
66build-backend = " hatchling.build"
77
88[project ]
9- name = " {{ cookiecutter.github_project_name }}"
9+ name = " {{ cookiecutter.python_package_name }}"
1010description = " {{ cookiecutter.project_short_description }}"
1111readme = " README.md"
1212license = { file = " LICENSE.txt" }
@@ -59,16 +59,16 @@ Homepage = "https://github.com/{{ cookiecutter.github_organization_name }}/{{ co
5959
6060[tool .hatch .build ]
6161artifacts = [
62- " {{ cookiecutter.github_project_name }}/nbextension/index.*" ,
63- " {{ cookiecutter.github_project_name }}/labextension/*.tgz" ,
64- " {{ cookiecutter.github_project_name }}/labextension" ,
62+ " {{ cookiecutter.python_package_name }}/nbextension/index.*" ,
63+ " {{ cookiecutter.python_package_name }}/labextension/*.tgz" ,
64+ " {{ cookiecutter.python_package_name }}/labextension" ,
6565]
6666
6767[tool .hatch .build .targets .wheel .shared-data ]
68- "{{ cookiecutter.github_project_name }}/nbextension" = " share/jupyter/nbextensions/{{ cookiecutter.github_project_name }}"
69- "{{ cookiecutter.github_project_name }}/labextension" = " share/jupyter/labextensions/{{ cookiecutter.github_project_name }}"
70- "./install.json" = " share/jupyter/labextensions/{{ cookiecutter.github_project_name }}/install.json"
71- "./{{ cookiecutter.github_project_name }}.json" = " etc/jupyter/nbconfig/notebook.d/{{ cookiecutter.github_project_name }}.json"
68+ "{{ cookiecutter.python_package_name }}/nbextension" = " share/jupyter/nbextensions/{{ cookiecutter.python_package_name }}"
69+ "{{ cookiecutter.python_package_name }}/labextension" = " share/jupyter/labextensions/{{ cookiecutter.python_package_name }}"
70+ "./install.json" = " share/jupyter/labextensions/{{ cookiecutter.python_package_name }}/install.json"
71+ "./{{ cookiecutter.python_package_name }}.json" = " etc/jupyter/nbconfig/notebook.d/{{ cookiecutter.python_package_name }}.json"
7272
7373[tool .hatch .build .targets .sdist ]
7474exclude = [
@@ -78,12 +78,12 @@ exclude = [
7878[tool .hatch .build .hooks .jupyter-builder ]
7979build-function = " hatch_jupyter_builder.npm_builder"
8080ensured-targets = [
81- " {{ cookiecutter.github_project_name }}/nbextension/index.js" ,
82- " {{ cookiecutter.github_project_name }}/labextension/package.json" ,
81+ " {{ cookiecutter.python_package_name }}/nbextension/index.js" ,
82+ " {{ cookiecutter.python_package_name }}/labextension/package.json" ,
8383]
8484skip-if-exists = [
85- " {{ cookiecutter.github_project_name }}/nbextension/index.js" ,
86- " {{ cookiecutter.github_project_name }}/labextension/package.json" ,
85+ " {{ cookiecutter.python_package_name }}/nbextension/index.js" ,
86+ " {{ cookiecutter.python_package_name }}/labextension/package.json" ,
8787]
8888dependencies = [
8989 " hatch-jupyter-builder>=0.5.0" ,
@@ -100,7 +100,7 @@ field = [
100100]
101101file = [
102102 { src = " pyproject.toml" },
103- { src = " {{ cookiecutter.github_project_name }}/_version.py" },
103+ { src = " {{ cookiecutter.python_package_name }}/_version.py" },
104104]
105105
106106[tool .tbump .version ]
0 commit comments