From ad9a4f9a9eeafd40000cdedf1c52cc250183bdb9 Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Wed, 1 Apr 2026 09:50:13 +0000 Subject: [PATCH] chore: initial project setup --- pyproject.toml | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..a889328 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,53 @@ +[project] +name = "gnmi-eos" +version = "0.1.0" +description = "gNMI CLI tool and Python library for Arista EOS devices" +readme = "README.md" +requires-python = ">=3.12" +license = { text = "MIT" } +keywords = ["gnmi", "arista", "eos", "yang", "network", "observability"] +classifiers = [ + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3.12", + "Topic :: System :: Networking", +] +dependencies = [ + "click>=8.1.0", + "pygnmi>=0.8.0", + "rich>=13.0.0", +] + +[project.scripts] +gnmi-eos = "gnmi_eos.cli:main" + +[project.urls] +Repository = "https://gitea.arnodo.fr/Damien/gnmi-eos" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["src/gnmi_eos"] + +[tool.hatch.build.targets.sdist] +include = ["src/gnmi_eos"] + +[tool.ruff] +line-length = 100 +target-version = "py312" + +[tool.ruff.lint] +select = ["E", "F", "I", "W"] +ignore = ["E501"] + +[dependency-groups] +dev = [ + "basedpyright>=1.37.4", + "pytest>=8.0.0", + "pytest-asyncio>=0.23.0", + "ruff>=0.14.10", +]