python: Remove obsolete license classifiers and update license field

Removed deprecated 'license classifiers' and updated license field with
valid SPDX license expression to to comply with Python packaging standards
(PEP 639).
This commit is contained in:
Marian Koop 2026-03-17 22:58:31 +01:00 committed by mkoop-ni
parent f860a7a010
commit 7ba8fbf584
4 changed files with 2 additions and 6 deletions

View File

@ -18,7 +18,6 @@ setup(
description="rfnoc-gain: An example module for RFNoC OOT Python support",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: C++",
"Programming Language :: Python",
"Topic :: System :: Hardware :: Hardware Drivers",
@ -27,7 +26,7 @@ setup(
author="Ettus Research",
author_email="uhd.maintainer@emerson.com",
url="https://www.ettus.com/",
license="GPLv3",
license="GPL-3.0-or-later",
package_dir={"": r"${NATIVE_CURRENT_BINARY_DIR}"},
package_data={"rfnoc_gain": ["*.so"]},
zip_safe=False,

View File

@ -8,7 +8,6 @@ license="GPL-3.0-or-later"
readme = "README.md"
classifiers=[
"@UHD_DEV_STATUS@",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: C++",
"Programming Language :: Python",
"Topic :: System :: Hardware :: Hardware Drivers",

View File

@ -22,7 +22,6 @@ setup(
description="Universal Software Radio Peripheral (USRP) Hardware Driver Python API",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: C++",
"Programming Language :: Python",
"Topic :: System :: Hardware :: Hardware Drivers",

View File

@ -15,7 +15,6 @@ setup(name='usrp_mpm',
description='Universal Software Radio Peripheral (USRP) Machiavellian Puppet Master (MPM) Python API',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: C++',
'Programming Language :: Python',
'Topic :: System :: Hardware :: Hardware Drivers',
@ -24,7 +23,7 @@ setup(name='usrp_mpm',
author='Ettus Research',
author_email='uhd.maintainer@emerson.com',
url='https://www.ettus.com/',
license='GPLv3',
license='GPL-3.0-or-later',
package_dir={'': '${CMAKE_CURRENT_BINARY_DIR}'},
package_data={"usrp_mpm": ["*.so"]},
zip_safe=False,