File: setuptools-license-classifiers-are-deprecated

package info (click to toggle)
uhd 4.9.0.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 184,180 kB
  • sloc: cpp: 262,887; python: 112,011; ansic: 102,670; vhdl: 57,031; tcl: 19,924; xml: 8,581; makefile: 3,028; sh: 2,812; pascal: 230; javascript: 120; csh: 94; asm: 20; perl: 11
file content (67 lines) | stat: -rw-r--r-- 2,992 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
From 407685f22a17b6097324a7ae244e76fb8ce39946 Mon Sep 17 00:00:00 2001
From: "A. Maitland Bottoms" <bottoms@debian.org>
Date: Tue, 19 Aug 2025 17:28:24 -0400
Subject: [PATCH 1/3] setuptools license classifiers are deprecated

Remove deprecated classifier lines.
Avoids "SetuptoolsDeprecationWarning: License classifiers are deprecated."
warning. These files already have the suggested license= config. See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
---
 host/examples/rfnoc-gain/python/setup.py.in | 1 -
 host/python/pyproject.toml.in               | 1 -
 host/python/setup.py.in                     | 1 -
 mpm/python/setup.py.in                      | 1 -
 4 files changed, 4 deletions(-)

diff --git a/host/examples/rfnoc-gain/python/setup.py.in b/host/examples/rfnoc-gain/python/setup.py.in
index e12ac87c5..c971a5a60 100755
--- a/host/examples/rfnoc-gain/python/setup.py.in
+++ b/host/examples/rfnoc-gain/python/setup.py.in
@@ -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",
diff --git a/host/python/pyproject.toml.in b/host/python/pyproject.toml.in
index e70ca4589..fe3168f8e 100644
--- a/host/python/pyproject.toml.in
+++ b/host/python/pyproject.toml.in
@@ -8,7 +8,6 @@ license="GPLv3"
 readme = "README.md"
 classifiers=[
     "@UHD_DEV_STATUS@",
-    "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
     "Programming Language :: C++",
     "Programming Language :: Python",
     "Topic :: System :: Hardware :: Hardware Drivers",
diff --git a/host/python/setup.py.in b/host/python/setup.py.in
index 09263404e..a8f43bcf2 100755
--- a/host/python/setup.py.in
+++ b/host/python/setup.py.in
@@ -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 (GPLv3)",
         "Programming Language :: C++",
         "Programming Language :: Python",
         "Topic :: System :: Hardware :: Hardware Drivers",
diff --git a/mpm/python/setup.py.in b/mpm/python/setup.py.in
index c95cfb3f6..b4186664d 100755
--- a/mpm/python/setup.py.in
+++ b/mpm/python/setup.py.in
@@ -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',
-- 
2.47.2