aboutsummaryrefslogtreecommitdiff
path: root/drizzlepac/drizzlepac.ini
blob: 0b0a1c694c3cfb3f1fc9686929a2d56369f1d831 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name: drizzlepac
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}

[build]
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}

[requirements]
build:
    astropy >=1.1
    astrolib.coords
    fitsblender
    nictools
    numpy
    scipy
    stsci.convolve
    stsci.distutils
    stsci.image
    stsci.imagemanip
    stsci.imagestats
    stsci.ndimage
    stsci.skypac
    stsci.sphere
    stsci.stimage
    stwcs
    pyregion
    python
    setuptools
run:
    astropy >=1.1
    astrolib.coords
    fitsblender
    nictools
    numpy
    scipy
    stsci.convolve
    stsci.image
    stsci.imagemanip
    stsci.imagestats
    stsci.ndimage
    stsci.skypac
    stsci.sphere
    stsci.stimage
    stwcs
    pyregion
    setuptools
    python

[test]
imports:
    drizzlepac

commands:
    # cannot import AstroDrizzle - mdriz. um?
    #mdriz --help
    #resetbits --help
    #runastrodriz --help
    #updatenpol --help

[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