define entry point, add command tests
and sort recipe a bit
@@ -10,14 +10,16 @@ source:
sha256: e378685700a885079c2500579077814ad89046330a4d04637e744b98fe8bd5c4
build:
- noarch: python
number: 0
+ noarch: python
+ entry_points:
+ - dials.data = dials_data.cli:main
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- - python
- pip
+ - python
run:
- pytest
- python
@@ -28,13 +30,16 @@ requirements:
test:
imports:
- dials_data
+ commands:
+ - dials.data --help
+ - dials.data list
about:
home: https://github.com/dials/data
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
- summary: 'DIALS Regression Data Manager'
+ summary: DIALS Regression Data Manager
description: |
A python package providing data files used for regression tests in
@@ -45,4 +50,4 @@ about:
extra:
recipe-maintainers:
- - Anthchirp
+ - anthchirp
