DOI-USGS / asc-public-docs

Public facing documentation for ASC
Other
0 stars 7 forks source link

Docs for Developer Adding USGSCSM to Dev Environment. #34

Closed amystamile-usgs closed 6 months ago

amystamile-usgs commented 8 months ago

For the average user, when they install ISIS, ISISROOT should be the same as CONDA_PREFIX so usgscsm >= 2.0 will work automatically for users but not for devs.

Steps to installing usgscsm for dev environment:

  1. run conda install conda-forge::usgscsm

  2. Update IsisPreference file under Group = Plugins to include "$CONDA_PREFIX/lib/csmplugins/", -

Example:

Group = Plugins
  CSMDirectory = ("$CONDA_PREFIX/lib/csmplugins/", -
                  "$ISISROOT/lib/csmplugins/", -
                  "$ISISROOT/lib/isis/csm3.0.3/", -
                  "$ISISROOT/csmlibs/3.0.3/", -
                  "$HOME/.Isis/csm3.0.3/")
EndGroup
acpaquette commented 8 months ago

It may be worth noting, if you are doing USGSCSM development work it would be easier for developers to point to a locally built version of USGSCSM rather than installing it via conda.

Whoever takes on this issue should likely mention/outline how to do the above

AustinSanders commented 6 months ago

Closed via #37