From c079cacdb36c70da3ed6cd3c14e96aa2f376b527 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 5 Jul 2015 21:33:29 -0400 Subject: un-d2to1 extension building to incorporate pkg-config --- pyfits/pyfits.ini | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'pyfits/pyfits.ini') diff --git a/pyfits/pyfits.ini b/pyfits/pyfits.ini index 7e6ad97..ce99395 100644 --- a/pyfits/pyfits.ini +++ b/pyfits/pyfits.ini @@ -18,6 +18,8 @@ summary: ${package:name} [source] fn: ${package:name}-${package:version}.tar.gz url: ${cbc_cgi:url}/${fn} +patches: + ${package:name}-cfitsio.patch [build] number: 1 @@ -26,14 +28,18 @@ number: 1 build: yaml pyyaml - numpy + setuptools stsci.distutils + pkgconfig + cfitsio + numpy d2to1 python run: yaml pyyaml + cfitsio numpy stsci.distutils d2to1 @@ -42,7 +48,9 @@ run: [cbc_build] linux: - python setup.py install --single-version-externally-managed --record=record.txt || exit 1 + 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 -- cgit