From 9b56840d5154d091406710165c77f0b4e08cb260 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Sat, 11 Jan 2025 15:41:36 +0100 Subject: [PATCH] download: create pyproject.toml --- scripts/component_hash_update/pyproject.toml | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 scripts/component_hash_update/pyproject.toml diff --git a/scripts/component_hash_update/pyproject.toml b/scripts/component_hash_update/pyproject.toml new file mode 100644 index 000000000..97894e485 --- /dev/null +++ b/scripts/component_hash_update/pyproject.toml @@ -0,0 +1,33 @@ +[build-system] +requires = ["setuptools >= 61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "kubespray_component_hash_update" +version = "1.0.0" +dependencies = [ + "more_itertools", + "ruamel.yaml", + "requests", + "packaging", +] + +requires-python = ">= 3.10" + +authors = [ + { name = "Craig Rodrigues", email = "rodrigc@crodrigues.org" }, + { name = "Simon Wessel" }, + { name = "Max Gautier", email = "mg@max.gautier.name" }, +] +maintainers = [ + { name = "The Kubespray maintainers" }, +] + +description = "Download or compute hashes for new versions of components deployed by Kubespray" + +classifiers = [ + "License :: OSI Approved :: Apache-2.0", +] + +[project.scripts] +update-hashes = "component_hash_update.download:main"