@@ -6,7 +6,7 @@ requires = [
6
6
build-backend = " hatchling.build"
7
7
8
8
[project ]
9
- name = " {{ cookiecutter.github_project_name }}"
9
+ name = " {{ cookiecutter.python_package_name }}"
10
10
description = " {{ cookiecutter.project_short_description }}"
11
11
readme = " README.md"
12
12
license = { file = " LICENSE.txt" }
@@ -59,16 +59,16 @@ Homepage = "https://github.com/{{ cookiecutter.github_organization_name }}/{{ co
59
59
60
60
[tool .hatch .build ]
61
61
artifacts = [
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" ,
65
65
]
66
66
67
67
[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"
72
72
73
73
[tool .hatch .build .targets .sdist ]
74
74
exclude = [
@@ -78,12 +78,12 @@ exclude = [
78
78
[tool .hatch .build .hooks .jupyter-builder ]
79
79
build-function = " hatch_jupyter_builder.npm_builder"
80
80
ensured-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" ,
83
83
]
84
84
skip-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" ,
87
87
]
88
88
dependencies = [
89
89
" hatch-jupyter-builder>=0.5.0" ,
@@ -100,7 +100,7 @@ field = [
100
100
]
101
101
file = [
102
102
{ src = " pyproject.toml" },
103
- { src = " {{ cookiecutter.github_project_name }}/_version.py" },
103
+ { src = " {{ cookiecutter.python_package_name }}/_version.py" },
104
104
]
105
105
106
106
[tool .tbump .version ]
0 commit comments