forked from ESMValGroup/ESMValTool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeta.yaml
90 lines (82 loc) · 2.29 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# 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
- eofs
- esmpy
- esmvalcore>=2.0.0b2,<2.1
- jinja2
- matplotlib
- nc-time-axis
- netCDF4
- numpy
- pandas
- python-cdo
- python-stratify
- pyyaml
- scikit-learn
- shapely
- xarray>=0.12.0
- yamale # in esmvalgroup channel
- fiona
- 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."