[package] name: pyfits version: {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git [about] home: https://github.com/spacetelescope/${package:name} license: GPL summary: ${package:name} [source] git_url: ${about:home}.git patches: ${package:name}-cfitsio.patch [py3k] [build] number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} preserve_egg_dir: True [requirements] build: setuptools yaml pyyaml d2to1 stsci.distutils pkgconfig cfitsio pkg-config [osx] numpy python run: stsci.distutils setuptools yaml pyyaml cfitsio numpy python [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: python setup.py install if errorlevel 1 exit 1