-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathpyproject.toml
More file actions
139 lines (130 loc) · 3.43 KB
/
pyproject.toml
File metadata and controls
139 lines (130 loc) · 3.43 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
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
[build-system]
requires = [
"scikit-build-core>=0.11.0",
"cython>=3",
"numpy>=2.1",
]
build-backend = "scikit_build_core.build"
[project]
name = "blosc2"
description = "A fast & compressed ndarray library with a flexible compute engine."
readme = {file = "README.rst", content-type = "text/x-rst"}
authors = [{name = "Blosc Development Team", email = "blosc@blosc.org"}]
maintainers = [{ name = "Blosc Development Team", email = "blosc@blosc.org"}]
license = "BSD-3-Clause"
license-files = ["LICENSE.txt"]
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.10"
# Follow guidelines from https://scientific-python.org/specs/spec-0000/
dependencies = [
"numpy>=1.26",
"ndindex",
"msgpack",
"numexpr>=2.14.1; platform_machine != 'wasm32'",
"pydantic",
"requests",
"threadpoolctl; platform_machine != 'wasm32'",
]
version = "4.1.1.dev0"
[project.entry-points."array_api"]
blosc2 = "blosc2"
[project.urls]
homepage = "https://github.com/Blosc/python-blosc2"
documentation = "https://www.blosc.org/python-blosc2/python-blosc2.html"
[dependency-groups]
dev = [
"dask",
"h5py",
"hdf5plugin",
"jupyterlab",
"matplotlib",
"pandas",
"plotly",
"pre-commit",
"pyarrow",
"ruff",
"s3fs",
"xarray",
"zarr",
]
test = [
"pytest",
"psutil; platform_machine != 'wasm32'",
# torch is optional because it is quite large (but will still be used if found)
# "torch; platform_machine != 'wasm32'",
]
doc = [
"sphinx>=8",
"pydata-sphinx-theme",
"numpydoc",
"myst-parser",
"sphinx-paramlinks",
"nbsphinx",
"ipykernel",
"sphinx-design",
"furo",
"numba",
]
[tool.cibuildwheel]
build-verbosity = 1
# Skip unsupported python versions as well as 32-bit platforms, which are not supported anymore.
skip = "*-manylinux_i686 cp*-win32 *_ppc64le *_s390x *musllinux*"
test-requires = "pytest"
#test-command = "pytest {project}/tests" # default command
# Use a simpler command here, and let the workflow .yml file to set the command
test-command = "python -c \"import blosc2; blosc2.print_versions()\""
# Manylinux 2014 will be the default for x86_64 and aarch64
manylinux-x86_64-image = "manylinux2014"
manylinux-aarch64-image = "manylinux2014"
[tool.scikit-build.sdist]
exclude = ["bench*", ".github*"]
[tool.ruff]
line-length = 109
extend-exclude = ["bench"]
[tool.ruff.lint]
extend-select = [
"B",
"C4",
"C90",
"I",
"NPY",
"PT",
"RET",
"RUF",
"SIM",
"TC",
"UP",
"C901"] # enable complexity rule
ignore = [
"B028",
"PT011",
"RET505",
"RET508",
"RUF001",
"RUF002",
"RUF003",
"RUF005",
"RUF015",
"RUF059",
"SIM108",
]
[tool.ruff.lint.extend-per-file-ignores]
"tests/**" = ["F841", "C901"]
[tool.ruff.lint.mccabe]
# Raise complexity from the default 10 to 13
max-complexity = 13