From 7c35000d5d3704d939133964a92fc7e4b2d361d0 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Mon, 13 Dec 2021 21:01:21 +0100 Subject: Fixed license in `setup.py`. --- pyGHDL/__init__.py | 1 + setup.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyGHDL/__init__.py b/pyGHDL/__init__.py index 493eb4757..bd5e1b8d7 100644 --- a/pyGHDL/__init__.py +++ b/pyGHDL/__init__.py @@ -52,6 +52,7 @@ __email__ = "tgingold@free.fr" __copyright__ = "2002-2021, Tristan Gingold and contributors" __license__ = "GNU General Public License v2" __version__ = "2.0.0-dev" +__keywords__ = ["vhdl", "parser", "compiler", "simulator", "ghdl"] from pyTooling.Decorators import export diff --git a/setup.py b/setup.py index 8e4b687a1..b834152ad 100644 --- a/setup.py +++ b/setup.py @@ -34,6 +34,7 @@ # ============================================================================ # from pathlib import Path +from pyTooling.Licensing import GPL_2_0_or_later from pyTooling.Packaging import DescribePythonPackageHostedOnGitHub gitHubNamespace = "ghdl" @@ -45,9 +46,8 @@ requirementsFile = Path(f"{packageDirectory}/requirements.txt") DescribePythonPackageHostedOnGitHub( packageName=packageName, description="Python binding for GHDL and high-level APIs (incl. LSP).", - license="GPL-2.0-or-later", + license=GPL_2_0_or_later, gitHubNamespace=gitHubNamespace, - keywords="Python3 VHDL Parser Compiler Simulator GHDL", sourceFileWithVersion=packageInformationFile, requirementsFile=requirementsFile, developmentStatus="beta", -- cgit v1.2.3