forked from hyperspy/holospy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
121 lines (109 loc) · 3.02 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "holospy"
description = "Analysis of (off-axis) electron holography data with HyperSpy."
requires-python = ">=3.8"
readme = "README.md"
keywords=[
"python",
"hyperspy",
"data analysis",
"microscopy",
"electron microscopy",
"electron holography",
"Off-axis holography",
"STEM",
"TEM",
]
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)",
"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",
]
dependencies = [
"hyperspy>=2.0rc0",
"numpy>=1.20.0",
"scipy>=1.5.0",
]
dynamic = ["version"]
[project.entry-points."hyperspy.extensions"]
holospy = "holospy"
[project.license]
file = "LICENSE"
[project.optional-dependencies]
tests = [
"pytest",
"pytest-cov",
"setuptools-scm",
]
doc = [
"numpydoc",
"pydata-sphinx-theme>=0.13",
"sphinx",
"sphinx-favicon",
"sphinxcontrib-towncrier",
"towncrier",
]
dev = [
"black",
"holospy[doc]",
"holospy[tests]"
]
[project.urls]
"Homepage" = "https://hyperspy.org/holospy"
"Bug Reports" = "https://github.com/hyperspy/holospy/issues"
"Source" = "https://github.com/hyperspy/holospy"
[tool.coverage.run]
branch = true
source = ["holospy"]
omit = [
"holospy/tests/*",
"prepare_release.py",
]
[tool.coverage.report]
precision = 2
[tool.pytest.ini_options]
# "-ra", # Display summary: "all except passes"
addopts = "-ra"
minversion = "6.0"
testpaths = [
"holospy/tests",
]
[tool.setuptools.packages.find]
include = ["holospy*"]
[tool.setuptools.package-data]
"*" = [
"*hdf5",
"*.yaml"
]
[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 = "0.2.dev0"
[tool.towncrier]
directory = "upcoming_changes/"
filename = "CHANGES.rst"
issue_format = "`#{issue} <https://github.com/hyperspy/holospy/issues/{issue}>`_"
title_format = "{version} ({project_date})"
package_dir = "holospy"
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 },
]