-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (49 loc) · 1.29 KB
/
pyproject.toml
File metadata and controls
64 lines (49 loc) · 1.29 KB
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
[project]
name = "omp4py"
version = "0.2"
description = "An OpenMP Implementation for Python"
license = { text = "LGPL-3.0-only" }
authors = [
{ name = "César Pomar", email = "cesaralfredo.pineiro@usc.es" },
{ name = "Juan C. Pichel", email = "juancarlos.pichel@usc.es" },
]
keywords = ["HPC", "OpenMP", "Programming models"]
readme = "README.md"
requires-python = ">=3.12"
dependencies = []
[tool.poetry.group.test.dependencies]
pytest = "^8.3.5"
pytest-cov = "^6.0.0"
tblib = "^3.0.0"
[tool.pytest.ini_options]
addopts = "-v --cov --cov-report=html"
testpaths = [
"test",
]
timeout = 3
[tool.coverage.run]
branch = true
include = ["omp4py/*"]
[tool.coverage.html]
directory = "coverage_html_report"
[tool.coverage.report]
show_missing = true
exclude_also = ["^import", "^from", "^\\s*pass"]
[tool.poetry]
requires-poetry = ">=2.0"
packages = [
{ include = "omp4py" },
{ include = "omp4py/cruntime", from = "build/libs", format = "wheel" },
]
include = [
{ path = "omp4py/cruntime", format = "sdist" },
{ path = "build/libs/omp4py/cruntime/**/*", format = "wheel" },
]
exclude = [
"omp4py/cruntime",
]
[tool.poetry.build]
script = "scripts/compile.py"
[build-system]
requires = ["poetry-core", "setuptools>=78", "Cython>=3.1.0"]
build-backend = "poetry.core.masonry.api"