Skip to content
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