File tree Expand file tree Collapse file tree
{{cookiecutter.project_slug}} Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 "project_slug" : " {{ (cookiecutter.__project_namespace_slug + '-' if cookiecutter.project_namespace_import else '') + cookiecutter.__module_slug }}" ,
88 "__project_import" : " {{ (cookiecutter.project_namespace_import + '.' if cookiecutter.project_namespace_import else '') + cookiecutter.__module_import }}" ,
99 "__project_src_path" : " src/{{ cookiecutter.__project_import.replace('.', '/') }}" ,
10+ "__project_src_first" : " {{ ('src/' + cookiecutter.project_namespace_import.split('.')[0] if cookiecutter.project_namespace_import else 'src/' + cookiecutter.__module_import) }}" ,
1011 "project_description" : " " ,
1112 "repo_type" : [
1213 " CLI" ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ build-backend = "hatchling.build"
2828path = " {{ cookiecutter.__project_src_path }}/__init__.py"
2929
3030[tool .hatch .build .targets .wheel ]
31- packages = [" {{ cookiecutter.__project_src_path }}" ]
31+ packages = [" {{ cookiecutter.__project_src_first }}" ]
3232
3333[tool .setuptools .dynamic ]
3434version = { attr = " {{ cookiecutter.__project_import }}.__version__" }
You can’t perform that action at this time.
0 commit comments