Skip to content

Use BSD-2-Clause license identifier #16

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
url = "https://github.com/dabapps/django-forms-dynamic"
author = "DabApps"
author_email = "[email protected]"
license = "BSD"
license = "BSD-2-Clause"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the old free-form license field, not the recent SPDX licence-expression field

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, right. Good catch! It still passed the license to the license argument in setup. pip show shows License-Expression after changing the argument to license_expression.


with open("README.md") as f:
readme = f.read()
Expand Down Expand Up @@ -61,7 +61,7 @@ def get_package_data(package):
name=name,
version=get_version(package),
url=url,
license=license,
license_expression=license,
description=description,
long_description=readme,
long_description_content_type="text/markdown",
Expand Down