2021-05-21 06:22:30 +03:00
|
|
|
# https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html
|
|
|
|
[metadata]
|
|
|
|
name = torchgeo
|
2021-09-21 01:28:01 +03:00
|
|
|
version = attr: torchgeo.__version__
|
2021-11-08 07:05:58 +03:00
|
|
|
author = Adam J. Stewart
|
2021-05-21 06:22:30 +03:00
|
|
|
author_email = ajstewart426@gmail.com
|
2022-06-30 08:25:59 +03:00
|
|
|
description = TorchGeo: datasets, samplers, transforms, and pre-trained models for geospatial data
|
2021-05-21 06:22:30 +03:00
|
|
|
long_description = file: README.md
|
|
|
|
long_description_content_type = text/markdown
|
2021-05-21 19:52:23 +03:00
|
|
|
url = https://github.com/microsoft/torchgeo
|
2021-11-08 07:05:58 +03:00
|
|
|
license_files = LICENSE
|
2021-05-21 06:22:30 +03:00
|
|
|
classifiers =
|
2021-11-08 07:05:58 +03:00
|
|
|
Development Status :: 3 - Alpha
|
2021-05-21 06:22:30 +03:00
|
|
|
Intended Audience :: Science/Research
|
|
|
|
Programming Language :: Python :: 3
|
2021-06-18 01:56:41 +03:00
|
|
|
Programming Language :: Python :: 3.7
|
|
|
|
Programming Language :: Python :: 3.8
|
|
|
|
Programming Language :: Python :: 3.9
|
2022-05-06 19:16:25 +03:00
|
|
|
Programming Language :: Python :: 3.10
|
2021-05-21 06:22:30 +03:00
|
|
|
License :: OSI Approved :: MIT License
|
|
|
|
Operating System :: OS Independent
|
|
|
|
Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
|
|
Topic :: Scientific/Engineering :: GIS
|
2022-06-30 08:25:59 +03:00
|
|
|
keywords = pytorch, deep learning, machine learning, remote sensing, satellite imagery, earth observation, geospatial
|
2021-05-21 06:22:30 +03:00
|
|
|
|
|
|
|
[options]
|
|
|
|
install_requires =
|
2022-06-18 18:00:45 +03:00
|
|
|
# einops 0.3+ required for einops.repeat
|
|
|
|
einops>=0.3,<0.5
|
|
|
|
# fiona 1.8+ required for reading empty files
|
|
|
|
fiona>=1.8,<2
|
2022-05-23 00:51:48 +03:00
|
|
|
# kornia 0.6.4+ required for kornia.contrib.compute_padding
|
2022-06-06 01:37:49 +03:00
|
|
|
kornia>=0.6.4,<0.7
|
2022-06-18 18:00:45 +03:00
|
|
|
# matplotlib 3.3+ required for (H, W, 1) image support in plt.imshow
|
|
|
|
matplotlib>=3.3,<4
|
|
|
|
# numpy 1.17.2+ required by pytorch-lightning
|
|
|
|
numpy>=1.17.2,<2
|
2021-12-18 03:28:57 +03:00
|
|
|
# omegaconf 2.1+ required for to_object method
|
2022-06-18 18:00:45 +03:00
|
|
|
omegaconf>=2.1,<3
|
2022-06-30 20:39:03 +03:00
|
|
|
# packaging 17+ required by pytorch-lightning
|
|
|
|
packaging>=17,<22
|
2022-06-18 18:00:45 +03:00
|
|
|
# pillow 6.2+ required by matplotlib
|
|
|
|
pillow>=6.2,<10
|
2021-09-22 17:41:00 +03:00
|
|
|
# pyproj 2.2+ required for CRS object
|
2022-06-06 01:37:49 +03:00
|
|
|
pyproj>=2.2,<4
|
2022-06-18 18:00:45 +03:00
|
|
|
# pytorch-lightning 1.5.1+ required for apply_to_collection bugfix
|
|
|
|
pytorch-lightning>=1.5.1,<2
|
|
|
|
# rasterio 1.0.20+ required for out_dtype parameter of DatasetReaderBase.read
|
|
|
|
rasterio>=1.0.20,<2
|
|
|
|
# rtree 1+ required for len(index), index & index, index | index
|
|
|
|
rtree>=1,<2
|
|
|
|
# scikit-learn 0.21+ required to fix murmurhash3_32 import bug
|
|
|
|
scikit-learn>=0.21,<2
|
2021-12-18 03:28:57 +03:00
|
|
|
# segmentation-models-pytorch 0.2+ required for smp.losses module
|
2022-07-30 02:20:50 +03:00
|
|
|
segmentation-models-pytorch>=0.2,<0.4
|
2021-12-20 08:49:35 +03:00
|
|
|
# shapely 1.3+ required for Python 3 support
|
2022-06-18 18:00:45 +03:00
|
|
|
shapely>=1.3,<2
|
|
|
|
# timm 0.4.12 required by segmentation-models-pytorch
|
|
|
|
timm>=0.4.12,<0.5
|
|
|
|
# torch 1.9+ required by torchvision
|
|
|
|
torch>=1.9,<2
|
2022-01-18 23:34:15 +03:00
|
|
|
# torchmetrics 0.7+ required for JaccardIndex
|
2022-06-06 01:37:49 +03:00
|
|
|
torchmetrics>=0.7,<0.10
|
2021-12-08 04:58:55 +03:00
|
|
|
# torchvision 0.10+ required for torchvision.utils.draw_segmentation_masks
|
2022-06-30 20:39:03 +03:00
|
|
|
torchvision>=0.10,<0.14
|
2022-06-06 01:37:49 +03:00
|
|
|
python_requires = ~= 3.7
|
2021-05-21 06:22:30 +03:00
|
|
|
packages = find:
|
|
|
|
|
2022-04-20 18:01:38 +03:00
|
|
|
[options.package_data]
|
|
|
|
torchgeo = py.typed
|
|
|
|
|
2021-06-17 23:50:17 +03:00
|
|
|
[options.packages.find]
|
2021-09-21 01:28:01 +03:00
|
|
|
include = torchgeo*
|
2021-06-17 23:50:17 +03:00
|
|
|
|
2021-05-21 06:22:30 +03:00
|
|
|
[options.extras_require]
|
2021-06-24 00:23:30 +03:00
|
|
|
datasets =
|
2022-06-18 18:00:45 +03:00
|
|
|
# h5py 2.6+ required for bugfixes to HDF5 API
|
|
|
|
h5py>=2.6,<4
|
|
|
|
# laspy 2+ required for laspy.read
|
|
|
|
laspy>=2,<3
|
2021-12-18 03:28:57 +03:00
|
|
|
# open3d 0.11.2+ required to avoid GLFW error:
|
2021-12-06 01:38:50 +03:00
|
|
|
# https://github.com/isl-org/Open3D/issues/1550
|
2022-06-06 01:37:49 +03:00
|
|
|
open3d>=0.11.2,<0.15;python_version<'3.10'
|
2022-06-18 18:00:45 +03:00
|
|
|
# opencv-python 3.4.2.17 is oldest buildable version on PyPI
|
|
|
|
opencv-python>=3.4.2.17,<5
|
|
|
|
# pandas 0.23.2+ required for Python 3.7 wheels
|
2022-06-06 01:37:49 +03:00
|
|
|
pandas>=0.23.2,<2
|
2022-06-18 18:00:45 +03:00
|
|
|
# pycocotools 2.0.0 is oldest version on PyPI
|
|
|
|
pycocotools>=2,<3
|
2021-09-22 17:41:00 +03:00
|
|
|
# radiant-mlhub 0.2.1+ required for api_key bugfix:
|
|
|
|
# https://github.com/radiantearth/radiant-mlhub/pull/48
|
2022-08-11 01:07:38 +03:00
|
|
|
# radiant-mlhub 0.5+ changed download behavior:
|
|
|
|
# https://github.com/radiantearth/radiant-mlhub/pull/104
|
|
|
|
radiant-mlhub>=0.2.1,<0.5
|
2021-09-22 17:41:00 +03:00
|
|
|
# rarfile 3+ required for correct Rar file detection
|
2022-06-06 01:37:49 +03:00
|
|
|
rarfile>=3,<5
|
2022-06-18 18:00:45 +03:00
|
|
|
# scipy 1.2+ required to fix LinearNDInterpolator import bug
|
|
|
|
scipy>=1.2,<2
|
2022-01-15 08:14:51 +03:00
|
|
|
# zipfile-deflate64 0.2+ required for extraction bugfix:
|
|
|
|
# https://github.com/brianhelba/zipfile-deflate64/issues/19
|
2022-06-06 01:37:49 +03:00
|
|
|
zipfile-deflate64>=0.2,<0.3
|
2022-06-05 22:18:43 +03:00
|
|
|
docs =
|
2022-06-19 19:07:42 +03:00
|
|
|
# ipywidgets 7+ required by nbsphinx
|
2022-08-19 00:59:50 +03:00
|
|
|
ipywidgets>=7,<9
|
2022-06-05 22:18:43 +03:00
|
|
|
# nbsphinx 0.8.5 fixes bug with nbformat attributes
|
2022-06-18 18:00:45 +03:00
|
|
|
nbsphinx>=0.8.5,<0.9
|
2022-06-05 22:18:43 +03:00
|
|
|
# release versions missing files, must install from master
|
|
|
|
pytorch-sphinx-theme
|
|
|
|
# sphinx 4+ required for autodoc_typehints_description_target = documented
|
2022-06-06 01:37:49 +03:00
|
|
|
sphinx>=4,<6
|
2021-06-18 00:22:42 +03:00
|
|
|
style =
|
2022-06-05 22:18:43 +03:00
|
|
|
# black 21.8+ required for Jupyter support
|
2022-06-06 01:37:49 +03:00
|
|
|
black[jupyter]>=21.8,<23
|
2021-09-22 17:41:00 +03:00
|
|
|
# flake8 3.8+ depends on pyflakes 2.2+, which fixes a bug with mypy error code ignores:
|
|
|
|
# https://github.com/PyCQA/pyflakes/pull/455
|
2022-08-02 01:08:42 +03:00
|
|
|
flake8>=3.8,<6
|
2021-09-22 17:41:00 +03:00
|
|
|
# isort 5.8+ required for extend_skip option
|
2022-06-18 18:00:45 +03:00
|
|
|
isort[colors]>=5.8,<6
|
2021-09-22 17:41:00 +03:00
|
|
|
# pydocstyle 6.1+ required for pyproject.toml support
|
2022-06-18 18:00:45 +03:00
|
|
|
pydocstyle[toml]>=6.1,<7
|
2022-03-30 19:29:39 +03:00
|
|
|
# pyupgrade 1.24+ required for --py37-plus flag
|
2022-06-06 01:37:49 +03:00
|
|
|
pyupgrade>=1.24,<3
|
2021-06-18 00:22:42 +03:00
|
|
|
tests =
|
2021-12-17 17:18:50 +03:00
|
|
|
# mypy 0.900+ required for pyproject.toml support
|
2022-07-20 00:37:16 +03:00
|
|
|
mypy>=0.900,<0.972
|
2021-09-22 17:41:00 +03:00
|
|
|
# nbmake 0.1+ required to fix path_source bug
|
2022-07-11 20:02:36 +03:00
|
|
|
nbmake>=0.1,<2
|
2022-06-18 18:00:45 +03:00
|
|
|
# pytest 6.1.2+ required by nbmake
|
|
|
|
pytest>=6.1.2,<8
|
2021-09-22 17:41:00 +03:00
|
|
|
# pytest-cov 2.4+ required for pytest --cov flags
|
2022-06-06 01:37:49 +03:00
|
|
|
pytest-cov>=2.4,<4
|
2022-02-15 19:53:56 +03:00
|
|
|
|
|
|
|
[flake8]
|
|
|
|
max-line-length = 88
|
|
|
|
extend-ignore =
|
|
|
|
# See https://github.com/PyCQA/pycodestyle/issues/373
|
|
|
|
E203,
|
|
|
|
exclude =
|
|
|
|
# TorchGeo
|
|
|
|
data/,
|
2022-06-30 08:25:59 +03:00
|
|
|
images/,
|
2022-02-15 19:53:56 +03:00
|
|
|
logo/,
|
|
|
|
logs/,
|
|
|
|
output/,
|
|
|
|
|
2022-06-24 23:41:24 +03:00
|
|
|
# Docs
|
|
|
|
docs/src/,
|
|
|
|
|
2022-02-15 19:53:56 +03:00
|
|
|
# Spack
|
|
|
|
.spack-env/,
|
|
|
|
|
|
|
|
# Python
|
|
|
|
build/,
|
|
|
|
dist/,
|
|
|
|
.cache/,
|
|
|
|
.mypy_cache/,
|
|
|
|
.pytest_cache/,
|
|
|
|
__pycache__/,
|
|
|
|
*.egg-info/,
|
|
|
|
|
|
|
|
# Git
|
|
|
|
.git/,
|
|
|
|
.github/,
|