Open pkienzle opened 5 years ago
Trac update at 2018/07/20 15:52:57
: smk78 commented:
/sasview/docs/sphinx-docs/source/user/environment.rst created
Linked into manual from Working with !SasView
Trac update at 2018/09/18 02:29:59
: pkienzle commented:
These are all sasmodels environment variables, and so ought to be in the sasmodels doc tree.
Searching the sasview wx source I see the following additional environment variables referenced by sasview:
The environment variables are now displayed by the sascomp command (ticket 608 branch) as:
These should appear somewehere in the sasview manual.
Perhaps we should make SAS_WEIGHTS_PATH default to ~/.sasmodels/weights to be consistent with SAS_MODELPATH and SAS_DLL_PATH, and redirect it in sasview like we do for SAS_MODELPATH.
We should redirect SAS_DLL_PATH to the ~/.sasview directory as well, otherwise we end up with .sasview and .sasmodels in our home directory.
Renaming SAS_MODELPATH to SAS_MODEL_PATH would add further consistency.
Document any other environment variables used in sasview or sasmodels.
The XDG_CACHE_HOME variable is used by pyopencl, and is defined in the appdirs package. Consider using this package for sasview/sasmodels as well since we already depend on it through pyopencl.
Migrated from http://trac.sasview.org/ticket/1138