aboutsummaryrefslogtreecommitdiff
path: root/stsci.stimage/stsci.stimage.ini
blob: d59bd654b9ddb9dc1de13dc7d4ef11a054e63855 (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
[package]
name: stsci.stimage
version: 0.2.1

[about]
home: https://github.com/embray/${package:name}
license: GPL
summary: ${package:name}

[source]
git_url: https://github.com/spacetelescope/${package:name}
git_tag: 

[build]
number: 0
# Namespace package workaround
preserve_egg_dir: yes

[requirements]
build:
    d2to1
    numpy
    stsci.distutils
    setuptools
    python

run:
    numpy
    python

[test]
imports:
    stsci.stimage

[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
    if errorlevel 1 exit 1