Skip to content

starkit/wsynphot

Repository files navigation

Wsynphot

https://dev.azure.com/starkit/wsynphot/_apis/build/status/wsynphot-CI?branchName=master

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.