Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Testing Specviz Specutils Master Branches in a Conda Environment

Craig Jones edited this page Jan 29, 2019 · 7 revisions

In order to setup a conda environment to have specviz and specutils installed from the master branch follow the instructions below. This will be useful to test PR's merged the same day (don't need to wait for an overnight build).

One Time Conda Environment Setup

Run the following commands the first time in order to setup the conda environment and to do the initial install of specviz and specutils from their master branches.

$ conda create -n specviz-master python=3.6 pyqt 
$ source activate specviz-master
$ pip install --upgrade git+https://github.com/spacetelescope/specviz 
$ pip install --upgrade git+https://github.com/astropy/specutils 

Regular Upgrade To Master

To upgrade your conda environment, created above, to the current master the following can be run:

$ source activate specviz-master
$ pip install --upgrade git+https://github.com/spacetelescope/specviz 
$ pip install --upgrade git+https://github.com/astropy/specutils 

Now you can run specviz and it will be based on GitHub master from specviz and specutils.

Clone this wiki locally