forked from pycalphad/pycalphad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
41 lines (37 loc) · 1.03 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
[build-system]
requires = [
"Cython",
# numpy ABI compatibility for different Python versions
"oldest-supported-numpy",
"scipy",
"setuptools",
"setuptools_scm[toml]>=6.0",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
markers = [
"solver: mark for tests that verify the correctness of the solver",
]
norecursedirs = ["pycalphad/_dev"]
[tool.coverage.paths]
# The first path is the path to the modules to report coverage against.
# All following paths are patterns to match against the collected data.
# Any matches will be combined with the first path for coverage.
source = [
"./pycalphad",
"*/lib/*/site-packages/pycalphad", # allows testing against site-packages for a local virtual environment
]
[tool.coverage.run]
plugins = [
"Cython.Coverage",
]
# Only consider coverage for these packages:
source_pkgs = [
"pycalphad"
]
omit = [
"pycalphad/core/*.pxd", # workaround for https://github.com/nedbat/coveragepy/issues/972
"stringsource",
]
[tool.setuptools_scm]