summaryrefslogtreecommitdiff
path: root/glue-core/meta.yaml
blob: c86fb7eca77762b797b8cd07542e6b3cdfe003b7 (plain) (blame)
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
{% set name = 'glue-core' %}
{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
{% if version[0] == 'v' %}
{%   set version = version[1:] %}
{% endif %}
{% set number = '2' %}

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

source:
    git_url: https://github.com/glue-viz/glue.git

build:
  number: {{ number }}
  script: python setup.py install --single-version-externally-managed --record record.txt
  entry_points:
    - glue = glue.main:main
    - glue-config = glue.config_gen:main
    - glue-deps = glue._deps:main
  osx_is_app: True

requirements:

  build:
    - numpy {{ numpy }}
    - python {{ python }}
    - setuptools
    - pyqt

  run:

    # The following is needed to make sure that the package works as a GUI
    # application (glue needs to be run with python.app, not python)
    - python.app  # [osx]

    # Required dependencies
    - python
    - numpy
    - bottleneck >=1.2
    - pandas >=0.14
    - astropy >=1.3
    - matplotlib >=1.4
    - mpl-scatter-density >=0.3
    - qtpy >=1.2
    - ipython >=4.0
    - ipykernel
    - qtconsole
    - dill >=0.2
    - xlrd >=1.0
    - h5py >=2.4
    - setuptools >=1.0
    - pyqt

    # Optional dependencies (defined in ``extras_require``)
    - scipy
    - scikit-image
    - spectral-cube
    - plotly

    # Temporary: the scikit-image conda package is missing the dask dependency
    # so we add it here for now
    - dask

test:
  imports:
    - glue
    - glue.core
    - glue.app.qt
  commands:
    - glue --version
    - glue-deps list

# NOTE: we deliberatey do NOT include an app entry here, because we instead do this
# in the glueviz meta-package (we don't want glue to appear twice in the navigator)

about:
  home: http://glueviz.org
  license: BSD 3-Clause
  license_file: LICENSE
  summary: Multi-dimensional linked data exploration