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
No related branches found
No related tags found
No related merge requests found
...@@ -5,3 +5,4 @@ __pycache__/ ...@@ -5,3 +5,4 @@ __pycache__/
*.pyc *.pyc
*.egg-info/ *.egg-info/
.env .env
.tox
...@@ -9,7 +9,7 @@ test: ...@@ -9,7 +9,7 @@ test:
- docker - docker
image: python:3.8 image: python:3.8
script: script:
- pip install --user pytest - pip install --user tox
- pip install --user . - pip install --user .
- python -m pytest - 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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment