desihub / desiutil

General DESI utilities, shell scripts, desiInstall, etc.
BSD 3-Clause "New" or "Revised" License
3 stars 9 forks source link

Disable warnings about Python scripts not in PATH. #182

Closed weaverba137 closed 2 years ago

weaverba137 commented 2 years ago

During a recent run of pip install there was a new warning message:

  WARNING: The scripts fits2bitmap, fitscheck, fitsdiff, fitsheader, fitsinfo, samp_hub, showtable, volint and wcslint are installed in '/global/common/software/desi/users/bweaver/cori/desiconda/current/code/astropy/5.0/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

This can be fixed by updating the pip install command in desiutil.install.