diff --git a/tools/install_imaging.in b/tools/install_imaging.in index ca6d190..7226f7d 100644 --- a/tools/install_imaging.in +++ b/tools/install_imaging.in @@ -185,6 +185,12 @@ fi python@PYVERSION@ -m compileall -f "@CONDA_PREFIX@/lib/python@PYVERSION@/site-packages" python@PYVERSION@ -m compileall -f "@AUX_PREFIX@" +# Import packages that may need to generate files in the +# install prefix + +python@PYVERSION@ -c "import astropy" +python@PYVERSION@ -c "import matplotlib.font_manager as fm; f = fm.FontManager" + # Set permissions if [ "x@CHGRP@" != "x" ]; then diff --git a/tools/install_minimal.in b/tools/install_minimal.in index 0c4dc3b..5141479 100644 --- a/tools/install_minimal.in +++ b/tools/install_minimal.in @@ -94,6 +94,12 @@ fi python@PYVERSION@ -m compileall -f "@CONDA_PREFIX@/lib/python@PYVERSION@/site-packages" python@PYVERSION@ -m compileall -f "@AUX_PREFIX@" +# Import packages that may need to generate files in the +# install prefix + +python@PYVERSION@ -c "import astropy" +python@PYVERSION@ -c "import matplotlib.font_manager as fm; f = fm.FontManager" + # Set permissions if [ "x@CHGRP@" != "x" ]; then diff --git a/tools/install_spectro.in b/tools/install_spectro.in index 39a3b86..d259d16 100644 --- a/tools/install_spectro.in +++ b/tools/install_spectro.in @@ -133,6 +133,12 @@ fi python@PYVERSION@ -m compileall -f "@CONDA_PREFIX@/lib/python@PYVERSION@/site-packages" python@PYVERSION@ -m compileall -f "@AUX_PREFIX@" +# Import packages that may need to generate files in the +# install prefix + +python@PYVERSION@ -c "import astropy" +python@PYVERSION@ -c "import matplotlib.font_manager as fm; f = fm.FontManager" + # Set permissions if [ "x@CHGRP@" != "x" ]; then