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 @@ -3,19 +3,21 @@ name = "{{ cookiecutter.project_slug }}"
33dynamic = [" version" ]
44description = " {{ cookiecutter.project_description }}"
55readme = " README.md"
6- license = { file = " LICENSE" }
6+ license-files = [" LICENSE" ]
7+
8+ {%- if cookiecutter.license == "Apache 2.0" %}
9+ license = " Apache-2.0"
10+ {%- elif cookiecutter.license == "AGPL v3" %}
11+ license = " AGPL-3.0-or-later"
12+ {%- elif cookiecutter.license == "Proprietary" %}
13+ license = " LicenseRef-Proprietary-License"
14+ {%- endif %}
15+
716authors = [
817 { name = " {{ cookiecutter.author_name }}" , email = " {{ cookiecutter.author_email }}" },
918]
1019classifiers = [
1120 " Programming Language :: Python :: 3" ,
12- {%- if cookiecutter.license == "Apache 2.0" %}
13- "License :: OSI Approved :: Apache Software License",
14- {%- elif cookiecutter.license == "AGPL v3" %}
15- "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
16- {%- elif cookiecutter.license == "Proprietary" %}
17- "License :: Other/Proprietary License",
18- {%- endif %}
1921]
2022dependencies = []
2123requires-python = " >=3.9"
You can’t perform that action at this time.
0 commit comments