-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
161 lines (142 loc) · 3.61 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "hyperspyUI"
description = "Hyperspy Graphical User Interface"
requires-python = ">=3.8"
readme = "README.rst"
keywords=[
"data analysis",
"microscopy",
"electron microscopy",
"electron energy loss spectroscopy",
"X-ray energy-dispersive spectroscopy"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
dependencies = [
"exspy",
"hyperspy >= 2.0rc0",
"hyperspy-gui-traitsui >= 2.0",
"matplotlib >= 3.6.1",
"packaging",
"pyqode.python >= 4.0.2",
"pyqode.core >= 4.0.10",
"pyface >=6.0.0",
"pyflakes",
"pywin32 >= 1.0; platform_system=='Windows'",
"autopep8",
"traits",
"traitsui >=5.2.0",
"qtconsole >=5.2.0",
"ipykernel >=5.2.0",
"qtpy",
]
dynamic = ["version"]
[project.gui-scripts]
hyperspyui = "hyperspyui.__main__:main"
[project.license]
file = "COPYING.txt"
[project.optional-dependencies]
"all" = [
"exspy",
"hyperspyui[pyqt]",
]
"doc" = [
"sphinx > 5.2",
"sphinx_rtd_theme",
"sphinx-toggleprompt",
"sphinxcontrib-towncrier",
"towncrier",
]
"pyqt" = [
"PyQt5",
"PyQtWebEngine",
]
"tests" = [
"pytest-qt",
"pytest-cov",
"pytest-timeout",
"setuptools-scm",
]
[project.urls]
"Homepage" = "https://hyperspy.org/hyperspyui"
"Bug Reports" = "https://github.com/hyperspy/hyperspyui/issues"
"Source" = "https://github.com/hyperspy/hyperspyui"
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["hyperspyui/tests", ]
qt_api = "pyqt5"
[tool.ruff.lint]
ignore = ["E402"]
select = ["NPY201"]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ["hyperspyui*"]
exclude = ["*user_plugins*"]
[tool.setuptools.package-data]
"*" = [
"images/*.svg",
"images/*.png",
"images/*.ico",
"images/icon/*.png",
"images/icon/*.ico",
"images/attributions.txt",
"ipython_profile/*",
]
[tool.setuptools_scm]
# Presence enables setuptools_scm, the version will be determine at build time from git
# The version will be updated by the `prepare_release.py` script
fallback_version = "2.1.dev0"
[tool.towncrier]
package_dir = "hyperspyui"
filename = "CHANGES.rst"
directory = "upcoming_changes/"
title_format = "{version} ({project_date})"
issue_format = "`#{issue} <https://github.com/hyperspy/hyperspyui/issues/{issue}>`_"
[[tool.towncrier.type]]
directory = "new"
name = "New features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecation"
name = "Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "enhancements"
name = "Enhancements"
showcontent = true
[[tool.towncrier.type]]
directory = "api"
name = "API changes"
showcontent = true
[[tool.towncrier.type]]
directory = "maintenance"
name = "Maintenance"
showcontent = true