Skip to content
Snippets Groups Projects
pyproject.toml 974 B
Newer Older
description="Collection of scripts and wrapper of continuous benchmarking"
readme = "README.md"
requires-python = ">=3.8"
authors = [
Christoph Alt's avatar
Christoph Alt committed
{ name = "Christoph Alt", email="christoph.alt@fau.de" }
]
license = { file = "LICENSE" }

dependencies = [
    "python-dotenv",
    "influxdb",
    "gitpython",
    "requests",
    "kadi-apy",
Christoph Alt's avatar
Christoph Alt committed
    "pandas",
    "importlib_resources ; python_version<'3.7'",
]

[project.optional-dependencies]
plotting = [
    "plotly",
    "kaleido",
]
dashboard = [
    "grafanalib",
]
Christoph Alt's avatar
Christoph Alt committed
test = [
    "coverage",
    "pytest",
    "pytest-cov"
]

[project.scripts]
get_frequency = "cbutil.cpu_frequency:main"

[tools.setuptools]
packages = ["cbutil", "cbutil.postprocessing", "dashboards", "plotting"]
Christoph Alt's avatar
Christoph Alt committed

[tool.coverage.run]
branch = true
source = ["cbutil", "dashboards", "plotting"]
exclude_lines = [
    "if __name__ == __main__",
]

[tool.coverage.html]
directory = "coverage_html_report"