-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
53 lines (47 loc) · 1.36 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
[build-system]
requires = ["wheel", "setuptools", "attrs>=17.1"]
build-backend = "setuptools.build_meta"
[project]
name = "baseg"
authors = [
{ name = "Edoardo Arnaudo", email = "edoardo.arnaudo@linksfoundation.com" },
{ name = "Luca Barco", email = "luca.barco@linksfoundation.com" },
]
description = "Burned area segmentation from Sentinel-2 images"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
dependencies = [
"albumentations >= 1.3.0, < 2",
"argdantic[all] >= 0.4.0, < 0.5.0",
"ipykernel >= 6.23.1, < 7.0.0",
"pytorch-lightning >= 1.9.5, < 2",
"torchmetrics >= 0.11.4, < 1",
"rasterio >= 1.3.7, < 2",
"tensorboard >= 2.13.0, < 3",
"torch @ https://download.pytorch.org/whl/cu117/torch-2.0.1%2Bcu117-cp310-cp310-linux_x86_64.whl",
"torchvision @ https://download.pytorch.org/whl/cu117/torchvision-0.15.2%2Bcu117-cp310-cp310-linux_x86_64.whl",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"black >= 23.0.0, < 24",
"ruff >= 0.0.270, < 0.1.0",
"isort >= 5.0.0, < 6",
]
doc = []
test = []
[tool.setuptools.dynamic]
version = { attr = "baseg.__version__" }
[tool.black]
line-length = 120
[tool.ruff]
ignore = ["B008", "C901", "C414"]
line-length = 120
[tool.isort]
line_length = 120
profile = "black"