|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "{{ cookiecutter.project_slug }}" |
3 | 3 | version = "0.0.1" |
4 | 4 | description = "{{ cookiecutter.project_short_description }}" |
5 | | -authors = [ |
6 | | - "{{ cookiecutter.author_name }} <{{ cookiecutter.author_email }}>", |
7 | | -] |
8 | 5 | license = "BSD-3-Clause" |
9 | 6 | readme = "README.md" |
| 7 | +authors = [ |
| 8 | + {name = "{{ cookiecutter.author_name }}", email = "{{ cookiecutter.author_email }}"}, |
| 9 | +] |
| 10 | +requires-python = ">=3.12" |
| 11 | +dependencies = [ |
| 12 | + "click", |
| 13 | +] |
10 | 14 |
|
11 | | -documentation = "https://{{ cookiecutter.github_username }}.github.io/{{ cookiecutter.project_slug }}" |
| 15 | +[project.optional-dependencies] |
| 16 | +dev = [ |
| 17 | + "mkdocstrings[python]", |
| 18 | + "mkdocs-material", |
| 19 | + "mkdocs-table-reader-plugin", |
| 20 | + "mkdocs-gen-files", |
| 21 | + "mkdocs-literate-nav", |
| 22 | + "mkdocs-section-index", |
| 23 | + "mypy", |
| 24 | + "pre-commit", |
| 25 | + "pymdown-extensions", |
| 26 | + "pytest", |
| 27 | + "pytest-github-actions-annotate-failures", |
| 28 | + "pytest-cov", |
| 29 | + "python-kacl", |
| 30 | + "ruff" |
| 31 | +] |
| 32 | + |
| 33 | +[project.urls] |
12 | 34 | homepage = "https://{{ cookiecutter.github_username }}.github.io/{{ cookiecutter.project_slug }}" |
13 | 35 | repository = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}" |
| 36 | +documentation = "https://{{ cookiecutter.github_username }}.github.io/{{ cookiecutter.project_slug }}" |
14 | 37 |
|
15 | | -classifiers = [ |
16 | | - "Development Status :: 4 - Beta", |
17 | | - "Intended Audience :: Developers", |
18 | | - "Operating System :: OS Independent", |
19 | | - "Programming Language :: Python", |
20 | | - "Programming Language :: Python :: 3", |
21 | | - "Topic :: Software Development :: Libraries :: Python Modules", |
22 | | - "Typing :: Typed", |
23 | | -] |
| 38 | +[project.scripts] |
| 39 | +my-cli = "{{ cookiecutter.package_name }}.cli:main" |
24 | 40 |
|
| 41 | +[tool.poetry] |
25 | 42 | packages = [ |
26 | 43 | { include = "{{ cookiecutter.package_name }}", from = "src" } |
27 | 44 | ] |
| 45 | +requires-poetry = ">=2.0" |
28 | 46 |
|
29 | 47 | [tool.poetry.dependencies] |
30 | 48 | python = ">=3.12, <4.0" |
31 | | -click = "*" |
32 | | - |
33 | | -[tool.poetry.group.dev.dependencies] |
34 | | -mkdocstrings = {version = "*", extras = ["python"]} |
35 | | -mkdocs-material = "*" |
36 | | -mkdocs-table-reader-plugin = "*" |
37 | | -mkdocs-gen-files = "*" |
38 | | -mkdocs-literate-nav = "*" |
39 | | -mkdocs-section-index = "*" |
40 | | -mypy = "*" |
41 | | -pre-commit = "*" |
42 | | -pymdown-extensions = "*" |
43 | | -pytest = "*" |
44 | | -pytest-github-actions-annotate-failures = "*" |
45 | | -pytest-cov = "*" |
46 | | -python-kacl = "*" |
47 | | -ruff = "*" |
48 | 49 |
|
49 | 50 | [build-system] |
50 | | -requires = ["poetry-core>=1.0.0"] |
| 51 | +requires = ["poetry-core>=2.0.0"] |
51 | 52 | build-backend = "poetry.core.masonry.api" |
52 | 53 |
|
53 | | -[tool.poetry.scripts] |
54 | | -my-cli = "{{ cookiecutter.package_name }}.cli:main" |
55 | | - |
56 | 54 | [tool.ruff] |
57 | 55 | target-version = "py312" # The lowest supported version |
58 | 56 |
|
|
0 commit comments