Skip to content

Commit cd656f0

Browse files
authored
chore: Fix license metadata in setup.py (#5934)
### Description See [PEP 639](https://peps.python.org/pep-0639/#deprecate-license-field) for deprecation of `license` and license in classifiers in favor of `license_expression`. #### Issues * resolves: #5932 * resolves: PY-2276
1 parent a45e18c commit cd656f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_file_text(file_name):
3636
# PEP 561
3737
package_data={"sentry_sdk": ["py.typed"]},
3838
zip_safe=False,
39-
license="MIT",
39+
license_expression="MIT",
4040
python_requires=">=3.6",
4141
install_requires=[
4242
"urllib3>=1.26.11",
@@ -99,7 +99,6 @@ def get_file_text(file_name):
9999
"Development Status :: 5 - Production/Stable",
100100
"Environment :: Web Environment",
101101
"Intended Audience :: Developers",
102-
"License :: OSI Approved :: BSD License",
103102
"Operating System :: OS Independent",
104103
"Programming Language :: Python",
105104
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)