From 9445f4662607e841ab17c9b5ba203135699febf8 Mon Sep 17 00:00:00 2001 From: Pcornat Date: Sat, 4 Apr 2026 12:49:28 +0200 Subject: [PATCH 1/4] Add pyproject.toml --- pyproject.toml | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..e5564159 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,57 @@ +[build-system] +requires = ["setuptools >= 77.0.3", "setuptools-scm[toml]"] +build-backend = "setuptools.build_meta" + +[project] +name = "clustershell" +requires-python = ">=3.6" +dependencies = [ + "pyyaml" +] +dynamic = ["version"] + +authors = [ + { name = "Stephane Thiell", email = "sthiell@stanford.eu" }, +] +maintainers = [ + { name = "Stephane Thiell" }, + { name = "Aurelien Degremont" }, + { name = "Henri Doreau" }, + { name = "Dominique Martinet" }, +] +description = "ClusterShell library and tools" +readme = "doc/txt/clustershell.rst" +license = "LGPLv2+" +keywords = ['clustershell', 'clush', 'clubak', 'nodeset'] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Intended Audience :: System Administrators", + "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", + "Operating System :: MacOS :: MacOS X", + "Operating System :: POSIX :: BSD", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: System :: Clustering", + "Topic :: System :: Distributed Computing" +] + +[project.urls] +Documentation = "https://clustershell.readthedocs.io/" +Repository = "https://github.com/cea-hpc/clustershell.git" +Issues = "https://github.com/cea-hpc/clustershell/issues" + +[project.scripts] +clubak = "ClusterShell.CLI.Clubak:main" +cluset = "ClusterShell.CLI.Nodeset:main" +clush = "ClusterShell.CLI.Clush:main" +nodeset = "ClusterShell.CLI.Nodeset:main" + +[tool.setuptools_scm] + +[tool.setuptools.packages.find] +where = ["lib"] +exclude = ["tests"] From f900bcc0eb1f07464711130179b230511f89eb26 Mon Sep 17 00:00:00 2001 From: Pcornat Date: Sat, 4 Apr 2026 12:53:44 +0200 Subject: [PATCH 2/4] SPDX licence expression --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e5564159..82f784d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ maintainers = [ ] description = "ClusterShell library and tools" readme = "doc/txt/clustershell.rst" -license = "LGPLv2+" +license = "LGPL-2.0-or-later" keywords = ['clustershell', 'clush', 'clubak', 'nodeset'] classifiers = [ "Development Status :: 5 - Production/Stable", From 9d65d09b8e51569520829d3150773b3c0ae1c21a Mon Sep 17 00:00:00 2001 From: Pcornat Date: Sat, 4 Apr 2026 12:53:59 +0200 Subject: [PATCH 3/4] licence expression replaced the licence classifier --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 82f784d0..5e9aa716 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,6 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: System Administrators", - "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: BSD", "Operating System :: POSIX :: Linux", From 9b23b5397e873532c7a1dff13575f0b3c589e849 Mon Sep 17 00:00:00 2001 From: Pcornat Date: Sat, 4 Apr 2026 12:57:47 +0200 Subject: [PATCH 4/4] Add Changelog field --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 5e9aa716..2f728531 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,7 @@ classifiers = [ Documentation = "https://clustershell.readthedocs.io/" Repository = "https://github.com/cea-hpc/clustershell.git" Issues = "https://github.com/cea-hpc/clustershell/issues" +Changelog = "https://github.com/cea-hpc/blob/master/ChangeLog" [project.scripts] clubak = "ClusterShell.CLI.Clubak:main"