blob: 5e41b183b391564765a5c817a90857466f6a53b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
[package]
name : calcos
version : 3.1.3
[about]
home : https://github.com/spacetelescope/${package:name}
license :
summary : ${package:name}
[source]
git_url : ${about:home}
git_tag: ${package:version}
[build]
number : 0
[requirements]
build :
d2to1
numpy x.x
astropy >=1.1
scipy
stsci.distutils
stsci.tools
setuptools
python x.x
run :
numpy x.x
astropy >=1.1
scipy
stsci.tools
python x.x
[test]
imports :
calcos
commands :
calcos --help
[cbc_build]
linux :
pip install --no-deps --upgrade --force d2to1
# Pipeline backwards compat
sed -i -e 's|pyfits.*|astropy (>=0.3.1)|' setup.cfg
python setup.py install || exit 1
windows :
python setup.py install
if errorlevel 1 exit 1
|