-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup.py has been deprecated in favour of pyproject.toml configuration file. For this reason, move all the packaging configuration inside pyproject.toml and generate kirk packages using setuptools. Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
- Loading branch information
Showing
2 changed files
with
54 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |