diff options
author | Joseph Hunkeler <jhunk@stsci.edu> | 2016-01-12 22:36:37 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunk@stsci.edu> | 2016-01-12 22:36:37 -0500 |
commit | 7d1ee75af89b3e65c2ef1de8a0a32c92ab4b11b9 (patch) | |
tree | 7ea9efcb5b1cd0d0f4e72d1f790784417e638045 /pandeia.engine | |
parent | 5b4a787144468680c6239ea5db1361d163933071 (diff) | |
download | cbc-recipes-7d1ee75af89b3e65c2ef1de8a0a32c92ab4b11b9.tar.gz |
Initial commit (mostly pandeia related)
Diffstat (limited to 'pandeia.engine')
-rw-r--r-- | pandeia.engine/pandeia.engine.ini | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/pandeia.engine/pandeia.engine.ini b/pandeia.engine/pandeia.engine.ini new file mode 100644 index 0000000..468d17b --- /dev/null +++ b/pandeia.engine/pandeia.engine.ini @@ -0,0 +1,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 + |