From 6e3b6fb72e8440ebf050504869fa8731dace522a Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 3 Jul 2020 11:59:15 +0200 Subject: [PATCH] Clarify that license is LGPL-2.1 Use only the license attribute with an SPDX license id for V2.1 of the LGPL. The setup.py classifier was inconsistent with the license attribute as one pointed to LGPL-2.0-or-later and one to LGPL-2.1-only which seems to be otherwise the correct license based on header comments and documentation. Classifiers do not support the LGPL v2.1 and are eventually being subsumed by the license field [1] [1] https://discuss.python.org/t/improving-license-clarity-with-better-package-metadata/2154 Signed-off-by: Philippe Ombredanne --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b8545ab61d..c949890aa1 100644 --- a/setup.py +++ b/setup.py @@ -354,7 +354,7 @@ def run(self): url='http://radimrehurek.com/gensim', download_url='http://pypi.python.org/pypi/gensim', - license='LGPLv2.1', + license='LGPL-2.1-only', keywords='Singular Value Decomposition, SVD, Latent Semantic Indexing, ' 'LSA, LSI, Latent Dirichlet Allocation, LDA, ' @@ -369,7 +369,6 @@ def run(self): 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Science/Research', - 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6',