diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..3c2aa55 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,54 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project] +name = "kirk" +dynamic = ["version"] +description = "All-in-one Linux Testing Framework" +readme = "README.md" +license = {file = "LICENSE"} +requires-python = ">=3.6" +keywords = ["testing", "linux", "development", "ltp", "linux-test-project"] +authors = [ + {name = "Linux Test Project", email = "ltp@lists.linux.it" } +] +maintainers = [ + {name = "Andrea Cervesato", email = "andrea.cervesato@suse.com"} +] +classifiers = [ + "Natural Language :: English", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3.6", + "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", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Topic :: Software Development :: Testing", +] + +[project.urls] +"Homepage" = "https://github.com/linux-test-project/kirk" +"Bug Reports" = "https://github.com/linux-test-project/kirk/issues" + +[tool.setuptools.dynamic] +version = {attr = "libkirk.__version__"} + +[tool.setuptools.packages.find] +include = ["libkirk"] +exclude = ["libkirk.tests"] + +[project.scripts] +kirk = "libkirk.main:run" + +[project.optional-dependencies] +ssh = ["asyncssh <= 2.13.2"] +ltx = ["msgpack <= 1.0.5"] + +[tool.setuptools] +include-package-data = true diff --git a/setup.py b/setup.py deleted file mode 100644 index e2033dc..0000000 --- a/setup.py +++ /dev/null @@ -1,48 +0,0 @@ -""" -.. module:: setup - :platform: Multiplatform - :synopsis: installer module -.. moduleauthor:: Andrea Cervesato -""" - -from setuptools import setup - -import libkirk - -setup( - name="kirk", - version=libkirk.__version__, - description="All-in-one Linux Testing Framework", - long_description=open("README.md").read(), - long_description_content_type="text/markdown", - author="Linux Test Project", - author_email="ltp@lists.linux.it", - license="GPLv2", - url="https://github.com/linux-test-project/kirk", - classifiers=[ - "Natural Language :: English", - "Intended Audience :: Developers", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Programming Language :: Python :: 3.6", - "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", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "Topic :: Software Development :: Testing", - ], - extras_require={ - "ssh": ["asyncssh <= 2.13.2"], - "ltx": ["msgpack <= 1.0.5"], - }, - packages=["libkirk"], - include_package_data=True, - entry_points={ - "console_scripts": [ - "kirk=libkirk.main:run", - ], - }, -)