forked from LumiSpy/lumispy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
151 lines (139 loc) · 3.78 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "lumispy"
authors = [{name = "The LumiSpy developers"}]
description = "Analysis of luminescence spectroscopy data with HyperSpy."
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Operating System :: OS Independent",
"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",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"hyperspy >= 1.7", # earlier versions do not provide non-uniform axes
"numpy",
"scipy",
]
keywords = [
"CL",
"PL",
"EL",
"TRCL",
"TRPL",
"SEM",
"STEM",
"TEM",
"cathodoluminescence",
"photoluminescence",
"electroluminescence",
"Raman",
"curve fitting",
"data analysis",
"electron microscopy",
"hyperspectral",
"hyperspectrum",
"hyperspy",
"luminescence spectroscopy",
"lumispy",
"machine learning",
"model",
"multidimensional",
"numpy",
"python",
"scipy",
"spectroscopy",
"spectrum image",
"time-resolved",
]
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.8"
[project.entry-points."hyperspy.extensions"]
lumispy = "lumispy"
[project.license]
file = "LICENSE"
[project.optional-dependencies]
tests = [
"codecov",
"pytest>=5.0",
"pytest-cov",
"setuptools-scm",
]
doc = [
"sphinx>=4.3.0",
"sphinx_rtd_theme>=0.5.1",
"sphinx-copybutton",
"sphinxcontrib-towncrier>=0.3.0a0",
# unpin when sphinxcontrib-towncrier support more recent version to towncrier
"towncrier<24",
]
dev = [
"black",
"lumispy[doc]",
"lumispy[tests]"
]
[project.urls]
"Bug Reports" = "https://github.com/lumispy/lumispy/issues"
"Conda-forge" = "https://anaconda.org/conda-forge/lumispy"
"Documentation" = "https://docs.lumispy.org"
"Homepage" = "https://lumispy.org"
"Source" = "https://github.com/lumispy/lumispy"
[tool.coverage.report]
precision = 2
[tool.coverage.run]
branch = true
omit = [
"lumispy/tests/*",
"prepare_release.py",
]
source = ["lumispy"]
[tool.pytest.ini_options]
addopts = "-ra"
minversion = "5.0"
testpaths = ["lumispy/tests"]
norecursedirs = [
"doc/_build/*"
]
xfail_strict = false
doctest_optionflags = [
"IGNORE_EXCEPTION_DETAIL",
"NORMALIZE_WHITESPACE",
"ELLIPSIS",
]
[tool.setuptools.package-data]
"*" = [
"*.yaml",
]
[tool.setuptools.packages.find]
include = ["lumispy*"]
[tool.setuptools_scm]
# Presence enables setuptools_scm, the version will be determined at build time from git
# The version will be updated by the `prepare_release.py` script
fallback_version = "0.3.dev0"
[tool.towncrier]
directory = "upcoming_changes/"
filename = "CHANGELOG.rst"
issue_format = "`#{issue} <https://github.com/lumispy/lumispy/issues/{issue}>`_"
package = "lumispy"
title_format = "{version} ({project_date})"
type = [
{ directory = "new", name = "New features", showcontent = true },
{ directory = "enhancements", name = "Enhancements", showcontent = true },
{ directory = "bugfix", name = "Bug Fixes", showcontent = true },
{ directory = "api", name = "API changes", showcontent = true },
{ directory = "deprecation", name = "Deprecations", showcontent = true },
{ directory = "doc", name = "Improved Documentation", showcontent = true },
{ directory = "maintenance", name = "Maintenance", showcontent = true },
]