-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
34 lines (28 loc) · 1.04 KB
/
pyproject.toml
File metadata and controls
34 lines (28 loc) · 1.04 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "nmag-python-3"
version = "0.0.1"
authors = [{ name = "TriMagnetix", email = "info@trimagnetix.com" }]
description = "\"Nmag is a flexible finite element micromagnetic simulation package with an user interface based on the Python_ programming language.\" This is a rewrite to make it available for Python 3."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent" ]
dependencies = ["pint", "numpy", "tabulate", "meshio", "h5py"]
[project.optional-dependencies]
test = ["pytest", "pytest-cov", "pytest-watch"]
[tool]
setuptools.package-dir = { "" = "src" }
setuptools.packages.find.where = ["src"]
pytest.ini_options.addopts = [
"-ra",
"-v",
"--cov=src",
"--cov-report=term-missing",
"--cov-report=html" ]
pytest.ini_options.testpaths = ["tests"]
pytest_watch.runner = "pytest --clear"
coverage.run.omit = ["*/tests/*"]