-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (94 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
106 lines (94 loc) · 2.17 KB
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 = ["py-cpuinfo==9.0.0", "setuptools>=77.0.0", "wheel>=0.34.0"]
build-backend = "setuptools.build_meta"
[project]
name = "hdf5plugin"
authors = [
{name = "ESRF", email = "silx@esrf.fr"}
]
description = "HDF5 Plugins for Windows, MacOS, and Linux"
readme = "README.rst"
requires-python = ">=3.9"
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["h5py>=3.0.0"]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/silx-kit/hdf5plugin"
Documentation = "http://www.silx.org/doc/hdf5plugin/latest/"
Repository = "https://github.com/silx-kit/hdf5plugin"
[project.optional-dependencies]
doc = [
"ipython",
"nbsphinx",
"sphinx",
"sphinx-autodoc-typehints",
"sphinx_rtd_theme",
]
test = [
"packaging",
"numpy<2 ; python_version == '3.9'",
"blosc2>=2.5.1",
"blosc2-grok>=0.2.2",
]
dev = [
"hdf5plugin[doc,test]",
"bandit",
"black",
"flake8",
"isort",
]
[tool.setuptools]
packages = ["hdf5plugin"]
package-dir = {"" = "src"}
[tool.setuptools.dynamic]
version = {attr = "hdf5plugin._version.version"}
[tool.bandit]
exclude_dirs = [
"build",
"doc/hdf5plugin_EuropeanHUG2023",
"lib",
]
[tool.bandit.assert_used]
skips = ["*test.py"]
[tool.black]
extend-exclude = '''
(
lib
| .*\.ipynb
)
'''
[tool.isort]
profile = "black"
skip_glob = ["lib"]
[tool.mypy]
mypy_path = ["src"]
packages = ["hdf5plugin"]
strict = true
implicit_optional = true
warn_unused_configs = true
[[tool.mypy.overrides]]
module = ["hdf5plugin.test"]
disable_error_code = [
"attr-defined",
"no-untyped-def",
]
[[tool.mypy.overrides]]
module = [
"blosc2",
"hdf5plugin._config",
]
ignore_missing_imports = true