-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
96 lines (86 loc) · 1.82 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", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.build]
exclude = [
"/dist",
"/notebooks",
"/scripts",
"/bin",
"/tests",
]
[tool.hatch.version]
path = "src/worldcereal/_version.py"
pattern = "^__version__ = ['\"](?P<version>[^'\"]+)['\"]$"
[project]
name = "worldcereal"
authors = [
{ name="Kristof Van Tricht" },
{ name="Jeroen Degerickx" },
{ name="Darius Couchard" },
{ name="Christina Butsko" },
]
description = "WorldCereal classification module"
readme = "README.md"
requires-python = ">=3.8"
# dynamic = ["version"]
version = "2.1.0"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"boto3==1.35.30",
"cftime",
"geojson",
"geopandas",
"h3==4.1.0",
"h5netcdf>=1.1.0",
"loguru>=0.7.2",
"netcdf4<=1.6.4",
"numpy<2.0.0",
"openeo==0.31.0",
"openeo-gfmap==0.3.0",
"pyarrow",
"pydantic==2.8.0",
"rioxarray>=0.13.0",
"scipy",
"duckdb>=1.1.0",
"tqdm",
"xarray>=2022.3.0"
]
[project.urls]
"Homepage" = "https://github.com/WorldCereal/worldcereal-classification"
"Bug Tracker" = "https://github.com/WorldCereal/worldcereal-classification/issues"
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-depends",
"matplotlib>=3.3.0"
]
train = [
"catboost==1.2.5",
"presto-worldcereal==0.1.6",
"scikit-learn==1.5.0",
"torch==2.3.1",
"ipywidgets==8.1.3",
"duckdb==1.1.0",
"pystac==1.10.1",
"pystac-client==0.8.3"
]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
addopts = [
"--import-mode=prepend",
]
[tool.isort]
profile = "black"
[tool.ruff]
# line-length = 88
[tool.ruff.lint]
select = ["E", "F"]
ignore = [
"E501", # Ignore "line-too-long" issues, let black handle that.
]