forked from microsoft/torchgeo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
164 lines (155 loc) · 5.32 KB
/
setup.cfg
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html
[metadata]
name = torchgeo
version = attr: torchgeo.__version__
author = Adam J. Stewart
author_email = [email protected]
description = TorchGeo: datasets, samplers, transforms, and pre-trained models for geospatial data
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/microsoft/torchgeo
license_files = LICENSE
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Science/Research
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Topic :: Scientific/Engineering :: Artificial Intelligence
Topic :: Scientific/Engineering :: GIS
keywords = pytorch, deep learning, machine learning, remote sensing, satellite imagery, earth observation, geospatial
[options]
install_requires =
# einops 0.3+ required for einops.repeat
einops>=0.3,<0.7
# fiona 1.8.12+ required for Python 3.8 wheels
fiona>=1.8.12,<2
# kornia 0.6.5+ required due to change in kornia.augmentation API
kornia>=0.6.5,<0.7
# matplotlib 3.3+ required for (H, W, 1) image support in plt.imshow
matplotlib>=3.3,<4
# numpy 1.17.3+ required by Python 3.8 wheels
numpy>=1.17.3,<2
# omegaconf 2.1+ required for to_object method
omegaconf>=2.1,<3
# pillow 6.2.1+ required for Python 3.8 wheels
pillow>=6.2.1,<10
# pyproj 2.4.1+ required for Python 3.8 wheels
pyproj>=2.4.1,<4
# pytorch-lightning 1.5.1+ required for apply_to_collection bugfix
pytorch-lightning[extra]>=1.5.1,<2
# rasterio 1.1.1+ required for Python 3.8 wheels
rasterio>=1.1.1,<2
# rtree 1+ required for len(index), index & index, index | index
rtree>=1,<2
# scikit-learn 0.22+ required for Python 3.8 wheels
scikit-learn>=0.22,<2
# segmentation-models-pytorch 0.2+ required for smp.losses module
segmentation-models-pytorch>=0.2,<0.4
# shapely 1.7+ required for Python 3.8 wheels
shapely>=1.7,<3
# timm 0.4.12 required by segmentation-models-pytorch
timm>=0.4.12,<0.7
# torch 1.12+ required by torchvision
torch>=1.12,<2
# torchmetrics 0.10+ required for binary/multiclass/multilabel classification metrics
torchmetrics>=0.10,<0.12
# torchvision 0.13+ required for torchvision.models._api.WeightsEnum
torchvision>=0.13,<0.15
python_requires = >=3.8,<4
packages = find:
[options.package_data]
torchgeo = py.typed
[options.packages.find]
include = torchgeo*
[options.extras_require]
datasets =
# h5py 2.9+ required for Python 3.8 wheels
h5py>=2.9,<4
# laspy 2+ required for laspy.read
laspy>=2,<3
# opencv-python 4.1.2+ required for Python 3.8 wheels
opencv-python>=4.1.2,<5
# pandas 0.25.2+ required for Python 3.8 wheels
pandas>=0.25.2,<2
# pycocotools 2.0.1+ required for proper dependency declaration
pycocotools>=2.0.1,<3
# pyvista 0.25.2 required for wheels
pyvista>=0.25.2,<0.39
# radiant-mlhub 0.2.1+ required for api_key bugfix:
# https://github.com/radiantearth/radiant-mlhub/pull/48
# radiant-mlhub 0.5+ changed download behavior:
# https://github.com/radiantearth/radiant-mlhub/pull/104
radiant-mlhub>=0.2.1,<0.5
# rarfile 4+ required for wheels
rarfile>=4,<5
# scikit-image 0.18+ required for numpy 1.17+ compatibility
# https://github.com/scikit-image/scikit-image/issues/3655
scikit-image>=0.18,<0.20
# scipy 1.6.2+ required for scikit-image 0.18+ compatibility
scipy>=1.6.2,<2
# zipfile-deflate64 0.2+ required for extraction bugfix:
# https://github.com/brianhelba/zipfile-deflate64/issues/19
zipfile-deflate64>=0.2,<0.3
docs =
# ipywidgets 7+ required by nbsphinx
ipywidgets>=7,<9
# nbsphinx 0.8.5 fixes bug with nbformat attributes
nbsphinx>=0.8.5,<0.9
# release versions missing files, must install from master
pytorch-sphinx-theme
# sphinx 4+ required for autodoc_typehints_description_target = documented
sphinx>=4,<7
style =
# black 21.8+ required for Jupyter support
black[jupyter]>=21.8,<24
# flake8 3.8+ depends on pyflakes 2.2+, which fixes a bug with mypy error code ignores:
# https://github.com/PyCQA/pyflakes/pull/455
flake8>=3.8,<7
# isort 5.8+ required for extend_skip option
isort[colors]>=5.8,<6
# pydocstyle 6.1+ required for pyproject.toml support
pydocstyle[toml]>=6.1,<7
# pyupgrade 2.4+ required for --py38-plus flag
pyupgrade>=2.4,<4
tests =
# mypy 0.900+ required for pyproject.toml support
mypy>=0.900,<2
# nbmake 0.1+ required to fix path_source bug
nbmake>=0.1,<2
# pytest 6.1.2+ required by nbmake
pytest>=6.1.2,<8
# pytest-cov 2.4+ required for pytest --cov flags
pytest-cov>=2.4,<5
all =
torchgeo[datasets,docs,style,tests]
[flake8]
max-line-length = 88
extend-ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
exclude =
# TorchGeo
data/,
images/,
logo/,
logs/,
output/,
# Docs
docs/src/,
# Spack
.spack-env/,
# Python
build/,
dist/,
.cache/,
.mypy_cache/,
.pytest_cache/,
__pycache__/,
*.egg-info/,
# Git
.git/,
.github/,