InstallationΒΆ

1. If you are already using starkit package, use the same conda environment of starkit. And do a simple install of wsynphot:

$ source activate starkit
$ pip install git+https://github.com/starkit/wsynphot

2. Else if you are directly using wsynphot for 1st time, then:

$ curl -O https://raw.githubusercontent.com/starkit/starkit/master/starkit_env3.yml
$ conda env create --file starkit_env3.yml -n starkit
$ source activate starkit
$ pip install git+https://github.com/starkit/starkit  # some modules of wsynphot like spectrum1d need starkit, so it's better to have it installed already
$ pip install git+https://github.com/starkit/wsynphot

~ For advanced uses, instead of pip installing package, you can clone the repository and use its setup.py file. Simply replace the $ pip install git+https://github.com/starkit/wsynphot used above, by following:

$ git clone https://github.com/starkit/wsynphot.git
$ cd wsynphot
$ python setup.py <CMD>
# <CMD> may be install, develop, build, etc.