From f3a87440ae9df394ec7401f0dcf0b056e05d5bd8 Mon Sep 17 00:00:00 2001 From: Paul-Emmanuel Raoul Date: Mon, 22 Apr 2024 14:55:02 +0200 Subject: [PATCH] Migrate 'setup.cfg' metadata into 'pyproject.toml' --- pyproject.toml | 40 ++++++++++++++++++++++++++++++++++++++++ setup.cfg | 40 ---------------------------------------- 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index 4789c9a..597c03a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,3 +4,43 @@ requires = [ "wheel", ] build-backend = "setuptools.build_meta" + +[project] +name = "python4yahdlc" +version = "1.3.5" +description = "Python binding of the yahdlc library allowing to encode and decode HDLC frames." +readme = "README.rst" +keywords = ["hdlc", "yahdlc", "binding", "network"] +authors = [ + {name = "Paul-Emmanuel Raoul"}, +] +requires-python = ">=3.7, <4" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Topic :: Software Development :: Libraries :: Python Modules", + "Natural Language :: English", + "Programming Language :: C", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", +] + +[project.optional-dependencies] +examples = [ + "fysom", + "pyserial", +] +tests = [ + "black", + "ruff >= 0.3", + "tox", +] + +[project.urls] +"Bug Tracker" = "https://github.com/SkypLabs/python4yahdlc/issues" +"Source Code" = "https://github.com/SkypLabs/python4yahdlc" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 4cb8472..0000000 --- a/setup.cfg +++ /dev/null @@ -1,40 +0,0 @@ -[metadata] -name = python4yahdlc -version = 1.3.5 -description = Python binding of the yahdlc library allowing to encode and decode HDLC frames. -long_description = file: README.rst -long_description_content_type = text/x-rst -keywords = hdlc, yahdlc, binding, network -license = GPLv3 -license_files = LICENSE.txt -author = Paul-Emmanuel Raoul -author_email = skyper@skyplabs.net -url = https://github.com/SkypLabs/python4yahdlc -project_urls = - Bug Tracker = https://github.com/SkypLabs/python4yahdlc/issues - Source Code = https://github.com/SkypLabs/python4yahdlc -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - Topic :: Software Development :: Libraries :: Python Modules - Natural Language :: English - Programming Language :: C - Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 - License :: OSI Approved :: GNU General Public License v3 (GPLv3) - -[options] -python_requires = >=3.7, <4 - -[options.extras_require] -examples = - fysom - pyserial -tests = - black - ruff >= 0.3 - tox