From: Jan Stancek <jstan...@redhat.com>

tools/net/ynl: add backwards compatible setup.cfg for ynl

Older pythons don't support pyproject.toml, but build
seems to work.

Signed-off-by: Jan Stancek <jstan...@redhat.com>

diff --git a/tools/net/ynl/setup.cfg b/tools/net/ynl/setup.cfg
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/tools/net/ynl/setup.cfg
@@ -0,0 +1,20 @@
+[metadata]
+name = pyynl
+author = Donald Hunter
+author_email = donald.hun...@gmail.com
+description = yaml netlink (ynl)
+version = 0.0.1
+
+[options]
+packages =
+    pyynl
+    pyynl.lib
+python_requires = >=3.9
+install_requires =
+    jsonschema
+    pyyaml
+
+[options.entry_points]
+console_scripts =
+    ynl = pyynl.cli:main
+    ynl-ethtool = pyynl.ethtool:main

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3706

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to