-
Notifications
You must be signed in to change notification settings - Fork 36
/
pyproject.toml
75 lines (62 loc) · 1.89 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "powerapi"
description = "PowerAPI is a middleware toolkit for building software-defined power meters."
readme = "README.md"
keywords = ["powerapi", "energy", "power-meter", "green-computing"]
license = {text = "BSD-3-Clause"}
requires-python = ">=3.10"
dynamic = ["version"]
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Libraries :: Python Modules"
]
authors = [
{name = "PowerAPI Staff", email = "[email protected]"},
]
dependencies = [
"pyzmq >= 18.1.0",
"setproctitle >= 1.1.8"
]
[project.optional-dependencies]
test = [
"pytest >= 7.0.1",
"pytest-timeout >= 1.4.2",
"pytest-cov >= 4.0.0",
"mock >= 4.0.3"
]
docs = [
"sphinx >= 1.8.1",
"sphinx-autodoc-typehints >= 1.6.0"
]
lint = [
"flake8 >= 3.9.2",
"pylint >= 2.16.0"
]
# Databases:
mongodb = ["pymongo >= 3.7.2"]
influxdb = ["influxdb-client >= 1.30.0"]
opentsdb = ["opentsdb-py >= 0.6.0"]
prometheus = ["prometheus-client >= 0.9.0"]
# Plaforms:
kubernetes = ["kubernetes >= 27.0.2"]
# Aliases:
all-databases = ["powerapi[mongodb, influxdb, opentsdb, prometheus]"]
all-platforms = ["powerapi[kubernetes]"]
everything = ["powerapi[all-databases, all-platforms]"]
devel = ["powerapi[everything, test, docs, lint]"]
[project.urls]
homepage = "https://powerapi.org"
documentation = "https://powerapi.readthedocs.org"
repository = "https://github.com/powerapi-ng/powerapi"
[tool.setuptools.dynamic]
version = {attr = "powerapi.__version__"}