-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Substituting setup.py with pyproject.toml
- Loading branch information
1 parent
0e54a0b
commit d5d8958
Showing
2 changed files
with
40 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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__"} |