-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
98 lines (91 loc) · 2.4 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[build-system]
# Tool configs
requires = [
"babel",
"setuptools>=45",
"setuptools-scm[toml]>=6",
"wheel",
]
[project]
name = "weldx-widgets"
description = "Python based widgets for the weldx core package"
readme = "README.md"
keywords = [
"ipywidgets",
"weldx",
"widgets",
]
license = { file = "LICENSE", name = "BSD License" }
authors = [
{ name = "Martin K. Scherer", email = "martin.scherer@bam.de" },
{ name = "Cagtay Fabry", email = "cagtay.fabry@bam.de" },
]
# Dependencies
requires-python = ">=3.9"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Physics",
]
dynamic = [
# see: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata
"version", # version gets derived from git by setuptools_scm.
]
dependencies = [
"bidict",
"ipyfilechooser",
"ipympl",
"ipywidgets",
"k3d>=2.12",
"matplotlib<3.9",
"numpy",
"pint",
"tqdm",
"weldx>=0.6",
]
optional-dependencies.test = [
"pytest-cov",
"pytest-xdist",
]
urls.bug_tracker = "https://github.com/BAMweldx/weldx-widgets/issues"
urls.changelog = "https://github.com/BAMweldx/weldx-widgets/blob/master/CHANGELOG.md"
urls.documentation = "https://weldx.readthedocs.io"
urls.repository = "https://github.com/BAMweldx/weldx-widgets"
[tool.setuptools.packages.find]
where = [
".",
]
[tool.setuptools_scm]
write_to = "weldx_widgets/_version.py"
write_to_template = '__version__ = "{version}"'
[tool.pytest.ini_options]
addopts = "--tb=short --color=yes -rsw --doctest-modules --cov=weldx_widgets"
testpaths = "weldx_widgets/tests"
filterwarnings = [
"ignore::DeprecationWarning:traittypes.*:",
"ignore:Passing method to :FutureWarning:xarray.*:",
"error::pint.UnitStrippedWarning",
]
[tool.coverage.run]
source = [
"weldx_widgets",
]
[tool.coverage.report]
omit = [
"weldx_widgets/_version.py",
"weldx_widgets/tests/*",
]
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
]