blob: bd662e29c3b9be08c62face07400c264a26941f2 (
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
|
set -e
# Build the package in the usual way:
$PYTHON -m pip install . --no-deps --ignore-installed --no-cache-dir -vv
# Build the Sphinx documentation with our purpose-built LaTeX package:
docs="astrodata/doc/ad_CheatSheet astrodata/doc/ad_ProgManual \
astrodata/doc/ad_UserManual recipe_system/doc/rs_ProgManual \
recipe_system/doc/rs_UsersManual geminidr/doc/progmanuals/notes4manual \
geminidr/doc/tutorials/F2Img-DRTutorial \
geminidr/doc/tutorials/GSAOIImg-DRTutorial \
geminidr/doc/tutorials/NIRIImg-DRTutorial \
doc/DRAGONS gempy/doc/mosaic"
# Doc build to be completed here. Need to add a doc build step / script to
# DRAGONS itself, to keep things modular and allow building everything without
# the conda recipe.
# cd doc/ && make html && make latexpdf
# License files now get copied into the package as specified in meta.yaml, but
# not to the env where users can easily find them, so continue copying here too:
mkdir -p ${PREFIX}/share/dragons/
cp -p LICENSE ${PREFIX}/share/dragons/
cp -pR extern_licenses ${PREFIX}/share/dragons/
|