py-torchgeo: add version 0.1.0 (#27274)

This commit is contained in:
Adam J. Stewart 2021-11-12 01:25:20 -06:00 committed by GitHub
parent 62b1c3411c
commit dbad9fd58a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,27 +14,30 @@ class PyTorchgeo(PythonPackage):
""" """
homepage = "https://github.com/microsoft/torchgeo" homepage = "https://github.com/microsoft/torchgeo"
pypi = "torchgeo/torchgeo-0.1.0.tar.gz"
git = "https://github.com/microsoft/torchgeo.git" git = "https://github.com/microsoft/torchgeo.git"
maintainers = ['adamjstewart', 'calebrob6'] maintainers = ['adamjstewart', 'calebrob6']
version('main', branch='main') version('main', branch='main')
version('0.1.0', sha256='44eb3cf10ab2ac63ff95e92fcd3807096bac3dcb9bdfe15a8edac9d440d2f323')
variant('datasets', default=False, description='Install optional dataset dependencies') variant('datasets', default=False, description='Install optional dataset dependencies')
variant('docs', default=False, description='Install documentation dependencies')
variant('style', default=False, description='Install style checking tools') variant('style', default=False, description='Install style checking tools')
variant('tests', default=False, description='Install testing tools') variant('tests', default=False, description='Install testing tools')
variant('train', default=False, description='Install optional trainer dependencies') variant('train', default=False, description='Install optional trainer dependencies')
# Required dependencies # Required dependencies
depends_on('python@3.6:+bz2', type=('build', 'run')) depends_on('python@3.6:+bz2', type=('build', 'run'))
depends_on('py-setuptools@30.4:', type='build') depends_on('py-setuptools@42:', type='build')
depends_on('py-einops', type=('build', 'run')) depends_on('py-einops', type=('build', 'run'))
depends_on('py-fiona@1.5:', type=('build', 'run')) depends_on('py-fiona@1.5:', type=('build', 'run'))
depends_on('py-kornia@0.5.4:', type=('build', 'run'))
depends_on('py-matplotlib', type=('build', 'run')) depends_on('py-matplotlib', type=('build', 'run'))
depends_on('py-numpy', type=('build', 'run')) depends_on('py-numpy', type=('build', 'run'))
depends_on('pil@2.9:', type=('build', 'run')) depends_on('pil@2.9:', type=('build', 'run'))
depends_on('py-pyproj@2.2:', type=('build', 'run')) depends_on('py-pyproj@2.2:', type=('build', 'run'))
depends_on('py-pytorch-lightning@1.3:', type=('build', 'run'))
depends_on('py-rasterio@1.0.16:', type=('build', 'run')) depends_on('py-rasterio@1.0.16:', type=('build', 'run'))
depends_on('py-rtree@0.5:', type=('build', 'run')) depends_on('py-rtree@0.5:', type=('build', 'run'))
depends_on('py-shapely@1.3:', type=('build', 'run')) depends_on('py-shapely@1.3:', type=('build', 'run'))
@ -50,28 +53,21 @@ class PyTorchgeo(PythonPackage):
depends_on('py-rarfile@3:', type='run') depends_on('py-rarfile@3:', type='run')
depends_on('py-scipy@0.9:', type='run') depends_on('py-scipy@0.9:', type='run')
with when('+docs'):
depends_on('py-ipywidgets@7:', type='run')
depends_on('py-jupyterlab', type='run')
depends_on('py-nbmake@0.1:', type='run')
depends_on('py-nbsphinx@0.8.5:', type='run')
depends_on('py-sphinx@3:', type='run')
depends_on('py-pydocstyle@6.1:+toml', type='run')
depends_on('py-pytorch-sphinx-theme', type='run')
with when('+style'): with when('+style'):
depends_on('py-black@21:', type='run') depends_on('py-black@21:', type='run')
depends_on('py-flake8@3.8:', type='run') depends_on('py-flake8@3.8:', type='run')
depends_on('py-isort@5.8:+colors', type='run') depends_on('py-isort@5.8:+colors', type='run')
depends_on('py-pydocstyle@6.1:+toml', type='run')
with when('+tests'): with when('+tests'):
depends_on('py-mypy@0.900:', type='run') depends_on('py-mypy@0.900:', type='run')
depends_on('py-nbmake@0.1:', type='run')
depends_on('py-pytest@6:', type='run') depends_on('py-pytest@6:', type='run')
depends_on('py-pytest-cov@2.4:', type='run') depends_on('py-pytest-cov@2.4:', type='run')
with when('+train'): with when('+train'):
depends_on('py-omegaconf@2.1:', type='run') depends_on('py-omegaconf@2.1:', type='run')
depends_on('py-pytorch-lightning@1.3:', type='run')
depends_on('py-scikit-learn@0.18:', type='run') depends_on('py-scikit-learn@0.18:', type='run')
depends_on('py-segmentation-models-pytorch@0.2:', type='run') depends_on('py-segmentation-models-pytorch@0.2:', type='run')
depends_on('py-timm@0.2.1:', type='run')
depends_on('py-torchmetrics', type='run') depends_on('py-torchmetrics', type='run')