Skip to content

Commit

Permalink
Merge pull request #476 from esheldon/doc-fixes
Browse files Browse the repository at this point in the history
CI skyCatalogs install fix + doc fixes
  • Loading branch information
jchiang87 committed May 23, 2024
2 parents 4d4ba61 + 63f888f commit e03e946
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
git clone https://github.com/LSSTDESC/skyCatalogs.git
cd skyCatalogs
git checkout v1.7.0rc4
pip install -e .
# fix bug specifying version
sed -i.bak 's/\.skycatalogs/skycatalogs/' pyproject.toml
pip install --no-build-isolation --no-deps -e .
cd ..
- name: Cache data
Expand Down
5 changes: 4 additions & 1 deletion doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ Now we are ready to install *imSim*. First go to the directory where you would l
# Install imSim:
pip install --no-deps imSim/
pip install --no-deps skyCatalogs/
# turn off build isolation for newer pip
pip install --no-build-isolation --no-deps skyCatalogs/
Install *rubin_sim_data*
~~~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -180,6 +181,8 @@ Set runtime environment variables for the *Conda* environment

.. code-block:: sh
# e.g. if imSim is in ~/git/imSim you would set IMSIM_HOME to ~/git
conda env config vars set IMSIM_HOME=/path/to/imSim-git-repo
conda env config vars set RUBIN_SIM_DATA_DIR=$(pwd)/rubin_sim_data
conda env config vars set SIMS_SED_LIBRARY_DIR=$(pwd)/rubin_sim_data/sims_sed_library
Expand Down

0 comments on commit e03e946

Please sign in to comment.