Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (55 loc) · 1.86 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (55 loc) · 1.86 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "datalab-capsule"
dynamic = ["version"]
description = "Exchange and verify scientific workspace provenance as open RO-Crate capsules (library and CLI, no DataLab required)"
readme = "README.md"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
authors = [{ name = "DataLab Platform Developers" }]
requires-python = ">=3.9, <4"
dependencies = ["jsonschema >= 4.17"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
]
[project.urls]
Homepage = "https://github.com/DataLab-Platform/DataLab-Capsule"
[project.scripts]
workspace-capsule = "datalab_capsule.cli:main"
workspace-capsule-registry = "datalab_capsule.cli:registry_main"
[project.optional-dependencies]
hdf5 = ["NumPy >= 1.22", "h5py >= 3.6"]
registry = ["fastapi >= 0.110", "uvicorn >= 0.27"]
test = ["pytest >= 7", "NumPy >= 1.22", "h5py >= 3.6", "httpx >= 0.27"]
dev = ["ruff"]
[tool.setuptools.dynamic]
version = { attr = "datalab_capsule.__version__" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
datalab_capsule = ["schemas/*.json", "contexts/*.jsonld"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--import-mode=importlib"
[tool.ruff]
exclude = [".git", ".vscode", "build", "dist", "venv*", ".venv*", "node_modules"]
line-length = 88
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
select = ["D202", "D403", "E", "F", "I", "NPY201", "RUF022", "W"]
ignore = ["E203"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.pydocstyle]
convention = "google"