Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AGPL as a license option #339

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"full_name": "My Name",
"email": "[email protected]",
"project_short_description": "A great package.",
"license": ["BSD", "Apache", "MIT"],
"license": ["BSD", "Apache", "MIT", "AGPL"],
"backend": [
"hatch",
"flit",
Expand Down
1 change: 1 addition & 0 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ license:
- BSD
- Apache
- MIT
- AGPL
# [[[end]]]

# [[[cog print(cc.backend.yaml()) ]]]
Expand Down
4 changes: 4 additions & 0 deletions {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ license = "BSD-3-Clause"
license = "Apache-2.0"
{%- elif cookiecutter.license == "MIT" %}
license = "MIT"
{%- elif cookiecutter.license == "AGPL" %}
license = "AGPL-3.0-or-later"
{%- endif %}
description = "{{ cookiecutter.project_short_description }}"
readme = "README.md"
Expand Down Expand Up @@ -174,6 +176,8 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
{%- elif cookiecutter.license == "MIT" %}
"License :: OSI Approved :: MIT License",
{%- elif cookiecutter.license == "AGPL" %}
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
{%- endif %}
"Operating System :: OS Independent",
"Programming Language :: Python",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ license = BSD-3-Clause
license = Apache-2.0
{%- elif cookiecutter.license == "MIT" %}
license = MIT
{%- elif cookiecutter.license == "AGPL" %}
license = AGPL-3.0-or-later
{%- endif %}
license_files = LICENSE
platforms =
Expand All @@ -33,6 +35,8 @@ classifiers =
License :: OSI Approved :: Apache Software License
{%- elif cookiecutter.license == "MIT" %}
License :: OSI Approved :: MIT License
{%- elif cookiecutter.license == "AGPL" %}
License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
{%- endif %}
Operating System :: OS Independent
Programming Language :: Python
Expand Down
Loading