[package] name: reftools version: {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git [about] home: http://www.stsci.edu/institute/software_hardware/pyraf/stsci_python license: BSD summary: ${package:name} [source] git_url: https://github.com/spacetelescope/${package:name}.git [build] number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} preserve_egg_dir: yes [requirements] build: d2to1 stsci.distutils stsci.imagestats stsci.tools pywcs pysynphot stwcs calcos scipy numpy setuptools python run: stsci.imagestats stsci.tools pywcs pysynphot stwcs calcos scipy numpy python [test] imports: reftools [cbc_build] linux: echo This d2to1 hack is deadly. pip install --no-deps --upgrade --force d2to1 || exit 1 python setup.py install || exit 1 windows: echo This d2to1 hack is deadly. pip install --no-deps --upgrade --force d2to1 if errorlevel 1 exit 1 python setup.py install || exit 1 if errorlevel 1 exit 1