nwb-linkml/nwb_linkml/pyproject.toml

85 lines
2 KiB
TOML
Raw Normal View History

2024-07-01 23:19:13 +00:00
[project]
name = "nwb-linkml"
2023-08-12 02:52:35 +00:00
description = "Translating NWB schema language to LinkML"
2024-07-02 02:01:15 +00:00
version = "0.2.0"
2024-07-01 23:19:13 +00:00
authors = [
{name = "sneakers-the-rat", email = "sneakers-the-rat@protonmail.me"},
]
license = {text = "AGPL-3.0"}
2023-08-12 02:52:35 +00:00
readme = "README.md"
2024-07-01 23:19:13 +00:00
requires-python = "<3.13,>=3.10"
dependencies = [
2024-08-16 06:31:40 +00:00
"nwb-models>=0.1.0",
2024-07-01 23:19:13 +00:00
"pyyaml>=6.0",
"linkml-runtime>=1.7.7",
"nwb-schema-language>=0.1.3",
"rich>=13.5.2",
2024-07-03 08:34:24 +00:00
#"linkml>=1.7.10",
2024-07-18 07:39:56 +00:00
"linkml @ git+https://github.com/sneakers-the-rat/linkml@nwb-linkml",
"linkml-runtime>=1.8.2",
2024-07-01 23:19:13 +00:00
"pydantic>=2.3.0",
"h5py>=3.9.0",
"pydantic-settings>=2.0.3",
"tqdm>=4.66.1",
2024-07-02 07:10:28 +00:00
'typing-extensions>=4.12.2;python_version<"3.11"',
"numpydantic>=1.3.3",
2024-07-10 07:05:41 +00:00
"black>=24.4.2",
2024-07-31 08:30:06 +00:00
"pandas>=2.2.2",
2024-07-01 23:19:13 +00:00
]
[project.urls]
2023-10-09 23:33:02 +00:00
homepage = "https://nwb-linkml.readthedocs.io"
repository = "https://github.com/p2p-ld/nwb-linkml/"
documentation = "https://nwb-linkml.readthedocs.io"
2024-07-01 23:19:13 +00:00
[project.optional-dependencies]
plot = [
"dash<3.0.0,>=2.12.1",
"dash-cytoscape<1.0.0,>=0.3.0",
]
tests = [
"nwb-linkml",
"pytest>=8.0.0",
2024-07-01 23:19:13 +00:00
"pytest-depends<2.0.0,>=1.0.1",
"pytest-cov<5.0.0,>=4.1.0",
"sybil>=6.0.3",
2024-07-02 07:34:01 +00:00
"requests-cache>=1.2.1",
]
2024-07-02 04:22:35 +00:00
dev = [
"nwb-linkml[tests]",
"ruff>=0.5.0",
]
2023-08-12 02:52:35 +00:00
2024-07-01 23:19:13 +00:00
[tool.pdm]
distribution = true
2024-07-01 23:19:13 +00:00
[tool.pdm.build]
includes = ["src/nwb_linkml", "src/nwb_linkml/schema/**/*"]
2023-08-12 02:52:35 +00:00
[build-system]
2024-07-01 23:19:13 +00:00
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pytest.ini_options]
2023-10-06 01:10:04 +00:00
addopts = [
"--cov=nwb_linkml",
"--cov-append",
2023-10-09 22:06:53 +00:00
"--cov-config=.coveragerc",
"-p no:doctest",
"--ignore=tests/__tmp__",
"--ignore=src/nwb_linkml/schema"
2023-10-06 01:10:04 +00:00
]
markers = [
"dev: tests that are just for development rather than testing correctness",
"provider: tests for providers!",
"linkml: tests related to linkml generation",
"pydantic: tests related to pydantic generation"
]
testpaths = [
"src/nwb_linkml",
2023-09-06 05:29:48 +00:00
"tests",
]
2023-10-10 01:59:53 +00:00
filterwarnings = [
2023-10-10 06:40:31 +00:00
"ignore::DeprecationWarning",
2023-10-10 01:59:53 +00:00
"ignore:parse_obj:pydantic.PydanticDeprecatedSince20"
2024-07-01 23:19:13 +00:00
]