-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
96 lines (86 loc) · 3.16 KB
/
pyproject.toml
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pyearthtools"
description = "Reproducible science pipelines for machine learning"
readme = "README.md"
requires-python = ">=3.9"
keywords = ["pyearthtools"]
authors = [
{email = "[email protected]"},
{name = "Harrison Cook"}
]
maintainers = [
{name = "Harrison Cook", email = "[email protected]"}
]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
version = "0.1.0"
# FIXME replace with minimum versions once PyEarthTools is on PyPI
# FIXME remove redundant dependencies once PyEarthTools is on PyPI
[project.optional-dependencies]
utils = [
"pyearthtools-utils @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/utils"
]
data = [
"pyearthtools-data @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/data",
]
pipeline = [
"pyearthtools-utils @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/utils",
"pyearthtools-data @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/data",
"pyearthtools-pipeline @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/pipeline"
]
training = [
"pyearthtools-utils @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/utils",
"pyearthtools-data @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/data",
"pyearthtools-pipeline @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/pipeline",
"pyearthtools-training @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/training"
]
all = [
"pyearthtools-utils @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/utils",
"pyearthtools-data[all] @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/data",
"pyearthtools-pipeline[all] @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/pipeline",
"pyearthtools-training[all] @ git+https://github.com/ACCESS-Community-Hub/PyEarthTools.git#subdirectory=packages/training"
]
test = ["pytest", "pytest-cov", "pytest-xdist", "pudb"]
docs = [
"sphinx",
"myst-parser",
"sphinx-book-theme",
"scores",
"xarray",
"pandas",
"scipy",
"bottleneck",
"nbsphinx",
"sphinx_gallery"
]
[project.urls]
homepage = "https://pyearthtools.readthedocs.io/"
documentation = "https://pyearthtools.readthedocs.io/"
repository = "https://github.com/ACCESS-Community-Hub/PyEarthTools"
[tool.isort]
profile = "black"
[tool.black]
line-length = 120
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
# FIXME remove once PyEarthTools is published on PyPI
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
bypass-selection = true
[tool.hatch.build.targets.sdist]
only-include = ["pyproject.toml", "README.md", "LICENSE"]
[tool.pytest.ini_options]
addopts = [
'--cov-fail-under=40',
'--cov-branch',
'--cov-report=html',
'--junitxml=report.xml',
'-n 4',
]