https://github.com/ESMValGroup/ESMValTool
Raw File
Tip revision: 95746f4a57129d53451f3d5a164c6736cac84037 authored by sloosvel on 21 November 2019, 14:55:01 UTC
Remove unneeded fix
Tip revision: 95746f4
meta.yaml
# Conda build recipe
---

# Build commmand:
# conda build . -c conda-forge -c esmvalgroup

# Package version number
{% set version = "2.0.0b1" %}

package:
  name: esmvaltool
  version: {{ version }}

source:
  # Use these two lines to build a release:
  # git_rev: v{{ version }}
  # git_url: https://github.com/ESMValGroup/ESMValTool.git
  # Use this line instead of the above to test building without a release:
  path: .

build:
  # Increment the build number when building a new conda package of the same
  # esmvaltool version, reset to 0 when building a new version.
  number: 0
  noarch: python
  script: |
      python setup.py install --single-version-externally-managed --record=/tmp/record.txt
      POST_LINK="${PREFIX}/bin/.esmvaltool-post-link.sh"
      cp -v ${RECIPE_DIR}/language_support.sh ${POST_LINK};
      chmod +x ${POST_LINK};

requirements:
  build:
    - git
    - python>=3.6
    # Normally installed via pip:
    - pytest-runner
    - setuptools_scm
  run:
    # esmvaltool
    - python>=3.6
    - libunwind  #  specifically for Python3.7+
    - graphviz
    - iris
    # Normally installed via pip:
    - cartopy
    - cf-units
    - cython
    - ecmwf-api-client
    - eofs
    - esmpy
    - esmvalcore>=2.0.0b3,<2.1
    - jinja2
    - matplotlib
    - nc-time-axis
    - netCDF4
    - numpy
    - pandas
    - python-cdo
    - python-stratify
    - pyyaml
    - scikit-learn
    - shapely
    - xesmf
    - xarray>=0.12.0
    - yamale  # in esmvalgroup channel
    - fiona
    - xlrd
    - xlsxwriter
    # Command line tools used by diagnostic scripts
    - cdo
    - imagemagick
    - nco
    # Multi language support:
    - ncl>=6.5.0
    - r-base
    - r-curl  # Dependency of lintr, but fails to compile because it cannot find libcurl installed from conda.
    - r-udunits2  # Fails to compile because it cannot find udunits2 installed from conda.
    - tiledb=1.6.0

test:
  # TODO: add unit tests? This seems to require installing the tests
  imports:
    - esmvaltool
  commands:
    - esmvaltool -h

about:
  home: https://www.esmvaltool.org
  license: Apache License, Version 2.0
  license_file: LICENSE
  summary: "A community diagnostic and performance metrics tool for routine evaluation of Earth system models in CMIP."
  description: "A community diagnostic and performance metrics tool for routine evaluation of Earth system models in CMIP."
back to top