Trying a different setup (based on astroplan)
{% set name = "dust_extinction" %}
-{% set version = "v0.7" %}
+{% set version = "0.7" %}
+{% set hash_type = "sha256" %}
+{% set hash_value = "68c096e60b133cfaa60e641cd6a1c9b45a0f9b82d2cd4c8560ce68db3182373d" %}
package:
- name: {{ name|lower }}
- version: {{ version }}
+ name: '{{ name|lower }}'
+ version: '{{ version }}'
source:
- url: https://github.com/karllark/{{ name }}/archive/{{ version }}.tar.gz
- sha256: c038d51d94dc65a4c6e3f473e60888f79e65e5acb07af49598012823499f34fa
+ fn: '{{ name }}-{{ version }}.tar.gz'
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ '{{ hash_type }}': '{{ hash_value }}'
build:
- noarch: python
- number: 0
- script: "{{ PYTHON }} -m pip install . --no-deps -vv"
+ number: 1000
+ script: python setup.py install --offline --single-version-externally-managed --record=record.txt
requirements:
build:
- - astropy >=1.3
- - pytest
- - setuptools
- - numpy {{ numpy }}
- - python {{ python }}
- host:
- python
- - pip
+ - setuptools
+ - astropy >=1.3
run:
+ - python
+ - numpy >=1.6
+ - scipy
- astropy >=1.3
- matplotlib
- - scipy
- - numpy
- - python
test:
imports:
- dust_extinction
about:
- home: http://github.com/karllark/dust_extinction
- license: BSD-3-Clause
+ home: https://github.com/karllark/dust_extinction
+ license: BSD 3-clause
license_family: BSD
- license_file: licenses/LICENSE.txt
- summary: 'Models of interstellar dust extinction curves'
-
+ summary: Models of interstellar dust extinction curves
description: |
Models of interstellar dust extinction curves using the
astropy.modeling framework.
- doc_url: http://dust-extinction.readthedocs.io/
+ doc_url: https://dust_extinction.readthedocs.io/
dev_url: https://github.com/karllark/dust_extinction
extra:
