LSSTDESC / desc-python

DESC python environment
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

desc-python

Collection of DESC python environments and jupyter kernels

Setup for use on the Command line

NERSC: source/global/common/software/lsst/common/miniconda/setup_current_python.sh

CC: source /pbs/throng/lsst/software/desc/common/miniconda/setup_current_python.sh

How to Add User Installed Packages To Your Environment

Initial User setup for Jupyter (Only need to do this once)

See: https://confluence.slac.stanford.edu/display/LSSTDESC/Using+Jupyter+at+NERSC (Confluence log-in required)

Current Jupyter Kernels

List of Packages Included in the desc-python Environment

conda packages

pip installed packages

How to Add Packages to desc-python?

  1. Clone this repo and checkout the "bleed" branch
  2. Add new package names to the desc-python/conda/conda-pack.txt (for conda-forge) or desc-pythonv/conda/pip-pack.txt (for PyPI)
    • If this package is not installable from conda-forge or pip, please open an issue on this repository.
  3. Commit and push your changes to the bleed branch
  4. Once changes are pushed to the bleed branch an automated builds will be triggered:
    • Docker builds are handled by GitHub actions and will be triggered immediately. The builds can be followed by viewing the Actions page.
      • A successful build will produce a new image available on Dockerhub: lsstdesc/desc-python:bleed
        1. If there are data files or set up commands needed for the new package, then please open an issue on this repository.