-
Notifications
You must be signed in to change notification settings - Fork 1
/
construct.yaml
37 lines (33 loc) · 1.01 KB
/
construct.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
{% if PY_VERSION[0] == '2' %}
{% set NAME = 'esigen_pymol' %}
{% set THISPYVERSION = '2.7' %}
{% else %}
{% set THISPYVERSION = '3.7' %}
{% set NAME = 'esigen' %}
{% endif %}
name: {{ NAME }}
version: {{ environ.get('GIT_DESCRIBE_TAG', 'vN/A')[1:] }}
license_file: LICENSE
company: InsiliChem
# Welcome image for Windows installer
default_image_color: green [win]
{% if environ.get('OS', '').startswith('Windows') or environ.get('APPVEYOR') %}
{% set CONDA_BUILD_LOCAL = 'file:///' + environ['CONDA_PREFIX'] + '/conda-bld' %}
{% else %}
{% set CONDA_BUILD_LOCAL = 'file://' + environ['CONDA_PREFIX'] + '/conda-bld' %}
{% endif %}
channels:
- {{ CONDA_BUILD_LOCAL }}
- http://repo.continuum.io/pkgs/main/
- http://repo.continuum.io/pkgs/free/
{% if PY_VERSION == '2.7' %}
- https://conda.anaconda.org/omnia
- https://conda.anaconda.org/egilliesix
{% endif %}
specs:
- python {{ THISPYVERSION }}*
- nomkl [unix]
- esigen
{% if PY_VERSION[0] == '2' %}
post_install: devtools/post-construct.sh
{% endif %}