aboutsummaryrefslogtreecommitdiff
path: root/pywcs/pywcs.ini
blob: 2f9fc4d29ce6a8fc42d1a2fff913342453186fdc (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
[package]
name: pywcs
version: {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git

[about]
home: ssh://git@bitbucket.org/stsci_ssb/${package:name}
license: BSD
summary: ${package:name}

[source]
#fn: ${package:name}-${package:version}.tar.gz
#url: https://pypi.python.org/packages/source/p/${package:name}/${fn}
#md5: 5ed527a601ca1eba62c6be64b3dab620
git_url: ${about:home}.git

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

[requirements]
build:
    d2to1
    stsci.distutils
    stsci.tools
    numpy
    setuptools
    python
run:
    d2to1
    stsci.distutils
    stsci.tools
    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:
    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