diff --git a/recipes/medpy/meta.yaml b/recipes/medpy/meta.yaml new file mode 100644 index 0000000000000..da30c4f0afaa8 --- /dev/null +++ b/recipes/medpy/meta.yaml @@ -0,0 +1,56 @@ +{% set name = "MedPy" %} +{% set version = "0.3.0" %} + +package: + name: "{{ name|lower }}" + version: "{{ version }}" + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: 299d1be28df0b9c35e856177ada7555746d5b94a0f7af34dc3c3dd3671252a6a + +build: + number: 0 + script: + - export CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include -I${PYTHON_INCLUDE_DIR}" + - "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv " + skip: True # [osx] + +requirements: + build: + #- {{ compiler('cxx') }} + host: + - nibabel >=1.3.0 + - numpy >=1.6.1 + - pip + - pydicom >=0.9.7 + - python <3 + - scipy >=0.9.0 + #- boost + run: + - nibabel >=1.3.0 + - numpy >=1.6.1 + - pydicom >=0.9.7 + - python <3 + - itk + - scipy >=0.9.0 + +test: + imports: + - medpy + - medpy.core + - medpy.features + - medpy.filter + #- medpy.graphcut + - medpy.io + - medpy.itkvtk + - medpy.itkvtk.filter + - medpy.itkvtk.utilities + - medpy.metric + - medpy.utilities + +about: + home: https://github.com/loli/medpy + license: GNU General Public (GPL) + license_family: LGPL + summary: Medical image processing in Python