mirror of https://github.com/torvalds/linux.git
tools: ynl: add initial pyproject.toml for packaging
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>
This commit is contained in:
parent
ab88c2b373
commit
a12afefa2e
|
|
@ -0,0 +1,24 @@
|
|||
[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"
|
||||
Loading…
Reference in New Issue