mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Add pyproject.toml and define authors, dependencies and user-facing scripts. This will be used later by pip to install python code. Signed-off-by: Jan Stancek <jstancek@redhat.com> Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Link: https://patch.msgid.link/b184b43340f08aef97387bfd7f2b2cd9b015c343.1736343575.git.jstancek@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
24 lines
532 B
TOML
24 lines
532 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "pyynl"
|
|
authors = [
|
|
{name = "Donald Hunter", email = "donald.hunter@gmail.com"},
|
|
{name = "Jakub Kicinski", email = "kuba@kernel.org"},
|
|
]
|
|
description = "yaml netlink (ynl)"
|
|
version = "0.0.1"
|
|
requires-python = ">=3.9"
|
|
dependencies = [
|
|
"pyyaml==6.*",
|
|
"jsonschema==4.*"
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["pyynl", "pyynl.lib"]
|
|
|
|
[project.scripts]
|
|
ynl = "pyynl.cli:main"
|
|
ynl-ethtool = "pyynl.ethtool:main"
|