taken from grayskull
{% set name = "torchio" %}
{% set version = "0.18.29" %}
+
package:
- name: "{{ name|lower }}"
- version: "{{ version }}"
+ name: {{ name|lower }}
+ version: {{ version }}
source:
- url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/torchio-{{ version }}.tar.gz
sha256: 650b85c5c79fab45f62d8ac02f1d9c1af2cc9593c3005ef7335f07749051be91
build:
- noarch: python
number: 0
+ noarch: python
entry_points:
- torchio-transform=torchio.cli.apply_transform:main
- tiohd=torchio.cli.print_info:main
- script: "{{ PYTHON }} -m pip install . -vv"
+ script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- - click
- - deprecated
- - humanize
- - nibabel
- - numpy
- pip
- - python
- - scipy
- - simpleitk ==1.2.4
- - pytorch ==1.8.0
- - tqdm
- python >=3.6
run:
- click
@@ -37,25 +28,23 @@ requirements:
- humanize
- nibabel
- numpy
- - python
+ - python >=3.6
- scipy
- - simpleitk ==1.2.4
- - pytorch ==1.8.0
+ - simpleitk <2
+ - torch >=1.1
- tqdm
- - python >=3.6
test:
imports:
- torchio
+ - torchio.cli
about:
- home: "https://github.com/fepegar/torchio"
+ home: https://github.com/fepegar/torchio
+ summary: Tools for loading, augmenting and writing 3D medical images on PyTorch.
license: Apache-2.0
- license_family: Apache
license_file: LICENSE
- summary: "Tools for loading, augmenting and writing 3D medical images on PyTorch."
- doc_url:
- dev_url:
+ doc_url: https://torchio.readthedocs.io/index.html
extra:
recipe-maintainers:
