From a00e87972888755de7f420d4e7ff1a8e9582a8a7 Mon Sep 17 00:00:00 2001 From: Karl Gordon Date: Sat, 9 Mar 2019 23:14:50 -0500 Subject: Adding in info for dust_extinction package (#476) * Adding in info for dust_extinction package * Updating based on PR comments * Checkout "v"-prefixed tag * win32: Externally managed * nix: Externally managed --- dust_extinction/bld.bat | 1 + dust_extinction/build.sh | 1 + dust_extinction/meta.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 dust_extinction/bld.bat create mode 100644 dust_extinction/build.sh create mode 100644 dust_extinction/meta.yaml diff --git a/dust_extinction/bld.bat b/dust_extinction/bld.bat new file mode 100644 index 0000000..6d5f099 --- /dev/null +++ b/dust_extinction/bld.bat @@ -0,0 +1 @@ +%PYTHON% setup.py install --single-version-externally-managed --record=root.txt diff --git a/dust_extinction/build.sh b/dust_extinction/build.sh new file mode 100644 index 0000000..b699425 --- /dev/null +++ b/dust_extinction/build.sh @@ -0,0 +1 @@ +$PYTHON setup.py install --single-version-externally-managed --record=root.txt diff --git a/dust_extinction/meta.yaml b/dust_extinction/meta.yaml new file mode 100644 index 0000000..beaa5eb --- /dev/null +++ b/dust_extinction/meta.yaml @@ -0,0 +1,39 @@ +{% set name = 'dust_extinction' %} +{% set version = '0.7' %} +{% set tag = 'v' + version %} +{% set number = '0' %} + +about: + home: https://github.com/karllark/{{ name }} + license: BSD + summary: | + Models of interstellar dust extinction curves + +build: + number: {{ number }} + +package: + name: {{ name }} + version: {{ version }} + +requirements: + build: + - astropy >=2 + - pytest + - setuptools + - numpy {{ numpy }} + - python {{ python }} + run: + - astropy >=2 + - matplotlib + - scipy + - numpy + - python + +source: + git_tag: {{ tag }} + git_url: https://github.com/karllark/{{ name }}.git + +test: + imports: + - dust_extinction -- cgit