Skip to content

Commit

Permalink
<ADD> pyrpject.toml
Browse files Browse the repository at this point in the history
Substituting setup.py with pyproject.toml
  • Loading branch information
noryad-not-found committed Nov 12, 2024
1 parent 0e54a0b commit d5d8958
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 91 deletions.
40 changes: 40 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[build-system]
requires = ["setuptools>=61.0", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "pySMART-exporter"
description = "A Prometheus PySMART exporter"
readme = "README.md"
keywords = ["prometheus", "SMART", "exporter", "monitoring"]
license = {text = "BSD-3-Clause"}
dependencies = [
"prometheus-client",
"pySMART >=1.1.0"
]
dynamic = ["version"]
authors = [
{ name = "Rafael Leira", email = "rafael.leira@naudit.es" }
]

classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules"
]

[project.urls]
homepage = "https://repo1.naudit.es/theseus/pysmart-exporter"

[project.entry-points."console_scripts"]
pysmart_exporter = "pysmart_exporter.__main__:main"

[tool.setuptools.dynamic]
version = {attr = "pysmart_exporter.__version__"}
91 changes: 0 additions & 91 deletions setup.py

This file was deleted.

0 comments on commit d5d8958

Please sign in to comment.