-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
106 lines (92 loc) · 2.76 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
99
100
101
102
103
104
105
106
[build-system]
requires = ["setuptools == 75.1.0",
"wheel",
"versioningit",]
build-backend = "setuptools.build_meta"
[project]
name = "mslice"
dynamic = ["version"]
authors = [
{ name="The Mantid Project", email="[email protected]" },
]
description = "Visualise and slice data from Mantid"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
]
dependencies = [
"ipython",
"numpy",
"matplotlib>=3.9.2",
"qtawesome",
"pre-commit",
"qtpy",
]
[project.optional-dependencies]
tests_require = [
"coverage",
"mock>=2.0",
"pytest",
]
[project.urls]
"Homepage" = "https://mantidproject.github.io/mslice/"
"Bug Tracker" = "https://github.com/mantidproject/mslice/issues"
[project.entry-points]
console_scripts = { mslice = "mslice.app:main" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"mslice.images" = ["*.ico", "*.png", "*.svg"]
"mslice.app" = ["*.ui"]
"mslice.plotting.plot_window" = ["*.ui"]
"mslice.widgets.cut" = ["*.ui"]
"mslice.widgets.dataloader" = ["*.ui"]
"mslice.widgets.projection.powder" = ["*.ui"]
"mslice.widgets.slice" = ["*.ui"]
"mslice.widgets.status" = ["*.ui"]
"mslice.widgets.workspacemanager" = ["*.ui"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
filterwarnings = ["error", "ignore::DeprecationWarning"]
[tool.coverage.report]
include = [
"*/src/mslice/presenters/*",
"*/src/mslice/models/*",
"*/src/mslice/scripting/*",
"*/src/mslice/workspace/*",
"*/src/mslice/util/mantid/*",
"*/src/mslice/plotting/globalfiguremanager.py"
]
omit = [
"*/src/mslice/presenters/interfaces/*",
"*/src/mslice/util/mantid/__init__.py",
"*/src/mslice/util/mantid/mantid_algorithms.py",
"*/src/mslice/workspace/base.py",
"*/src/mslice/scripting/__init__.py",
"*/src/mslice/models/workspacemanager/file_io.py",
"*/src/mslice/models/workspacemanager/rebose_algorithm.py",
"*/src/mslice/models/projection/powder/make_projection.py",
"*/src/mslice/models/projection/powder/projection_calculator.py",
"*/src/mslice/models/slice*",
"*/src/mslice/models/cut/cut_algorithm.py",
"*/src/mslice/models/labels.py",
"*/src/mslice/models/colors.py",
]
fail_under = 85
show_missing = true
[tool.versioningit.vcs]
method = "git"
default-tag = "0.0.0"
[tool.versioningit.next-version]
method = "minor"
[tool.versioningit.format]
distance = "{version}.dev{distance}"
dirty = "{version}+uncommitted"
distance-dirty = "{version}.dev{distance}+uncommitted"
[tool.versioningit.write]
file = "src/mslice/__init__.py"