Skip to content

Commit

Permalink
Add dask-ms (#11321)
Browse files Browse the repository at this point in the history
* initial version

* add license_family and restrictions on dependencies

* linting

* add license field

* add @sjperkins as a maintainer

* skip Windows builds

* add import tests

* linting: remove noarch

* change tests

* bugfix test commands

* bugfix test commands

* package version 0.2.4
  • Loading branch information
sebastian-luna-valero authored Apr 28, 2020
1 parent ba94d73 commit 4668aff
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions recipes/dask-ms/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{% set name = "dask-ms" %}
{% set version = "0.2.4" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 31537be0fe0c7c82450336600a939d0538d59a670fc3fd4c00b093810226a48a

build:
skip: true # [win]
number: 0
script: "{{ PYTHON }} -m pip install . -vv"

requirements:
host:
- python
- pip
run:
- python
- dask >=2.2.0
- numpy >=1.14.0
- python-casacore >=3.2.0
- xarray >0.12.0

test:
imports:
- daskms
commands:
- ${PYTHON} -c "from daskms import xds_from_ms"
- ${PYTHON} -c "from daskms import xds_from_table"
- ${PYTHON} -c "from daskms import xds_to_table"
- ${PYTHON} -c "from daskms import TableProxy"

about:
home: https://github.com/ska-sa/dask-ms
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
summary: 'Implementation of a dask/xarray dataset backed by a CASA MS'

extra:
recipe-maintainers:
- sebastian-luna-valero
- sjperkins

0 comments on commit 4668aff

Please sign in to comment.