Skip to content

Commit 01baec8

Browse files
committed
Declare license as SPDX identifier in metadata
Fixes warning seen during packaging operations ``` ➜ mitogen git:(master) ✗ uv build --sdist Building source distribution... ... !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info ... ```
1 parent 85f0c33 commit 01baec8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ In progress (unreleased)
2424
* :gh:issue:`1266` Import cleanups
2525
* :gh:issue:`1266` :mod:`ansible_mitogen`: De-duplicate sys.path manipulations
2626
* :gh:issue:`1344` Correct SPDX license declarations
27+
* :gh:issue:`1344` Declare BSD-3-Clause SPDX license in package metadata
2728

2829

2930
v0.3.29 (2025-09-18)

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def long_description():
7979
long_description = long_description(),
8080
long_description_content_type='text/markdown',
8181
author = 'David Wilson',
82-
license = 'New BSD',
82+
license = 'BSD-3-Clause',
8383
url = 'https://github.com/mitogen-hq/mitogen/',
8484
packages = find_packages(exclude=['tests', 'examples']),
8585
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',
@@ -88,7 +88,6 @@ def long_description():
8888
'Environment :: Console',
8989
'Framework :: Ansible',
9090
'Intended Audience :: System Administrators',
91-
'License :: OSI Approved :: BSD License',
9291
'Operating System :: MacOS :: MacOS X',
9392
'Operating System :: POSIX',
9493
'Programming Language :: Python',

0 commit comments

Comments
 (0)