Skip to content
Snippets Groups Projects
Commit 50ea8d42 authored by Christoph Alt's avatar Christoph Alt
Browse files

reworked the build system by using pyproject.toml tox and Manifest.in

parent a739f7c5
Branches
No related merge requests found
......@@ -5,3 +5,4 @@ __pycache__/
*.pyc
*.egg-info/
.env
.tox
......@@ -9,7 +9,7 @@ test:
- docker
image: python:3.8
script:
- pip install --user pytest
- pip install --user tox
- pip install --user .
- python -m pytest
......
include plotting/roofline_data.json
[project]
name="cb-util"
version="0.1"
description="Collection of scripts and wrapper of contious benchmarking"
readme = "README.md"
requires-python = ">=3.8"
authors = [
{ name = "Christoph Alt", email="christoph.alt@fau.de" }
]
license = { file = "LICENSE" }
dependencies = [
"python-dotenv",
"influxdb",
"gitpython",
"requests",
"kadi-apy",
"importlib_resources ; python_version<'3.7'",
]
[project.optional-dependencies]
plotting = [
"plotly",
"kaleido",
]
dashboard = [
"grafanalib",
]
test = ["pytest"]
[project.scripts]
get_frequency = "cbutil.cpu_frequency:main"
[tools.setuptools]
packages = ["cbutil", "cbutil.postprocessing", "dashboards", "plotting"]
[tox]
envlist = py38
[testenv]
extras = dashboard, plotting, test
commands = pytest --junitxml=report.xml
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment