-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (107 loc) · 2.79 KB
/
pyproject.toml
File metadata and controls
116 lines (107 loc) · 2.79 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
[build-system]
requires = [
"setuptools>=80",
"setuptools_scm>=8",
]
build-backend = "setuptools.build_meta"
[project]
authors = [
{name = "Valeriu Predoi", email = "valeriu.predoi@ncas.ac.uk"},
{name = "David Hassell", email = "david.hassell@ncas.ac.uk"},
{name = "Bryan Lawrence", email = "bryan.lawrence@ncas.ac.uk"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"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",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Physics",
]
dynamic = [
"readme",
"version",
]
dependencies = [
"cbor2",
"fsspec",
"h5netcdf",
"netcdf4",
"numcodecs>=0.12", # github/issues/162
"numpy>=2",
"pyfive>=1.1.1",
"requests",
"s3fs>=2024.2.0", # see environment.yml for pin reason
"ujson",
]
description = "A Python client for Active Storage"
license = {text = "MIT"}
name = "PyActiveStorage"
requires-python = ">=3.10"
[project.optional-dependencies]
test = [
"flake8",
"pytest",
"pytest-cov>=2.10.1",
"pytest-html!=2.1.0",
"pytest-metadata>=1.5.1",
"pytest-xdist",
"dask",
"moto",
]
# build docs
doc = [
"autodocsumm",
"sphinx",
"sphinx_rtd_theme",
]
# run dask-demo
demo = [
"dask!=2024.8.0", # github.com/dask/dask/issues/11296
]
# to be added when functionality provided
# develop = [
# "pre-commit",
# "pylint",
# "pydocstyle",
# ]
[project.urls]
Code = "https://github.com/NCAS-CMS/PyActiveStorage"
# Documentation = ""
Issues = "https://github.com/NCAS-CMS/PyActiveStorage/issues"
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE"]
packages = ["activestorage"]
zip-safe = false # possibly yes
[tool.setuptools.dynamic]
readme = {file = "README.md", content-type = "text/markdown"}
[tool.setuptools_scm]
version_scheme = "release-branch-semver"
[tool.pytest.ini_options]
addopts = [
"--ignore=tests/s3_exploratory",
"--cov=activestorage",
"--cov-report=xml:test-reports/coverage.xml",
"--cov-report=html:test-reports/coverage_html",
"--html=test-reports/report.html",
]
[tool.coverage.run]
parallel = true
source = ["activestorage"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]