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

[about]
home : https://github.com:stsci-ssb/pandeia
license : BSD
summary : ${package:name}

[source]
#fn : ${package:name}-${package:version}.tar.gz
#url : ${about:home}/${fn}
git_url : git@github.com:STScI-SSB/pandeia.git
#git_tag : 

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

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

run : 
    tornado
    python

[test]
imports : 
    pandeia
    pandeia.engine
    
commands : 
    

[cbc_build]
linux : 
    pip install --no-deps --upgrade --force d2to1 || exit 1

    ( cd engine && \
        (python setup.py install || exit 1 ) ) && \
    ( cd ui && \
        (python setup.py install || exit 1 ) )

    # Copy documentation
    DOCDIR="$$PREFIX/share/doc/${package:name}"
    mkdir -p $$DOCDIR
    cp -a doc/{api_overview,user,install} $$DOCDIR

windows : 
    pip install --no-deps --upgrade --force d2to1
    if errorlevel 1 exit 1
    python setup.py install
    if errorlevel 1 exit 1