Skip to content

Commit a54b9ba

Browse files
committed
Review
1 parent c825f3e commit a54b9ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ authors = [
1111
]
1212
description = "Easily download, build, install, upgrade, and uninstall Python packages"
1313
readme = "README.rst"
14-
license = "MIT"
1514
classifiers = [
1615
"Development Status :: 5 - Production/Stable",
1716
"Intended Audience :: Developers",
17+
"License :: OSI Approved :: MIT License",
1818
"Programming Language :: Python :: 3",
1919
"Programming Language :: Python :: 3 :: Only",
2020
"Topic :: Software Development :: Libraries :: Python Modules",

setuptools/_core_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def read_pkg_file(self, file):
8888
self.url = _read_field_from_msg(msg, 'home-page')
8989
self.download_url = _read_field_from_msg(msg, 'download-url')
9090
self.license = _read_field_unescaped_from_msg(msg, 'license')
91-
self.license_expression = _read_field_unescaped_from_msg(msg, 'license_expression')
91+
self.license_expression = _read_field_unescaped_from_msg(msg, 'license-expression')
9292

9393
self.long_description = _read_field_unescaped_from_msg(msg, 'description')
9494
if self.long_description is None and self.metadata_version >= Version('2.1'):

0 commit comments

Comments
 (0)