-
Notifications
You must be signed in to change notification settings - Fork 31
Testing Specviz Specutils Master Branches in a Conda Environment
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).
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
To upgrade your conda environment, created above, to remain current with specviz
and specutils
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
.
To install specviz
from a branch that is not master one can do:
$ pip install --upgrade git+https://github.com/<github_user>/specviz@<branch_name>
for example to install the linelabels_documentation
branch from ibsuko
's repo one can do:
$ pip install --upgrade git+https://github.com/ibusko/specviz@linelabels_documentation