diff --git a/SBCK/__release.py b/SBCK/__release.py index e747ba2..d3f54e2 100644 --- a/SBCK/__release.py +++ b/SBCK/__release.py @@ -27,4 +27,4 @@ description = "Statistical Bias Correction Kit" author = "Yoann Robin" author_email = "yoann.robin.k@gmail.com" -license = "GNU-GPL3" +license = "GNU General Public License v3" diff --git a/setup.py b/setup.py index e1a5503..7929b24 100644 --- a/setup.py +++ b/setup.py @@ -202,7 +202,7 @@ def build_extensions(self): if "description" in line: description = line.replace("\n","").split("\"")[1] if "license" in line: - license = line.replace("\n","").replace(" ","").replace("\"","").split("=")[-1] + license = line.replace("\n","").replace("\"","").split("=")[-1].strip() if "author" in line and "author_email" not in line: author = line.replace("\n","").split("\"")[1] if "author_email" in line: @@ -221,10 +221,18 @@ def build_extensions(self): author = author, author_email = author_email, license = license, - platforms = [ "linux" , "macosx" ] , - requires = [ "numpy" , "scipy" , "matplotlib" ], + platforms = [ "linux" , "macosx" ], + classifiers = [ + "Development Status :: 5 - Production/Stable", + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "Natural Language :: English", + "Operating System :: MacOS :: MacOS X", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python :: 3", + "Topic :: Scientific/Engineering :: Mathematics" + ], ext_modules = ext_modules, - install_requires = ['pybind11>=2.2'], + install_requires = [ "numpy" , "scipy" , "matplotlib" , "pybind11>=2.2" ], cmdclass = {'build_ext': BuildExt}, zip_safe = False, packages = list_packages,