Skip to content

Commit ac42d02

Browse files
authored
Merge pull request #1 from herry13/fix/module-name
fix: incorrect module name
2 parents 4d832f5 + 9653026 commit ac42d02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ description = "{{ cookiecutter.project_description }}"
55
authors = ["{{ cookiecutter.author }} <{{ cookiecutter.email }}>"]
66

77
packages = [
8-
{ include = "app", from = "src" },
8+
{ include = "{{ cookiecutter.module_name }}", from = "src" },
99
]
1010

1111
[tool.poetry.scripts]
12-
app-api = "app.api:main"
12+
{{ cookiecutter.module_name }}-api = "{{ cookiecutter.module_name }}.api:main"
1313

1414
[tool.poetry.dependencies]
1515
python = "~{{ cookiecutter.python_version }}"

0 commit comments

Comments
 (0)