Skip to content

Commit

Permalink
DOC: Fix installation instructions [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Mar 7, 2018
1 parent 6e1c5e1 commit d6d25e7
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions doc/source/index.rst
Expand Up @@ -10,11 +10,8 @@ Introduction
Astrolib PySynphot (hereafter referred to only as **pysynphot**) is an
object-oriented replacement for STSDAS SYNPHOT synthetic photometry package in
IRAF. It is distributed as part of
`AstroConda <http://astroconda.readthedocs.io/en/latest/>`_ (preferred),
`stsci_python <http://www.stsci.edu/institute/software_hardware/pyraf/stsci_python/>`_, and also as
`standalone <https://github.com/spacetelescope/pysynphot/releases>`_
(`its PyPI distribution <https://pypi.python.org/pypi/pysynphot/>`_ is no
longer supported).
`AstroConda <http://astroconda.readthedocs.io/en/latest/>`_ (preferred)
and also as `standalone <https://pypi.python.org/pypi/pysynphot/>`_.
Although this package was developed for HST, it can be utilized with other
observatories.

Expand Down Expand Up @@ -55,18 +52,19 @@ STScI Help Desk via ``help[at]stsci.edu``.
Installation and Setup
======================

Unless you are using Ureka, the following dependencies must be installed first:
If you have AstroConda, simply install with this command::

* `astropy <https://pypi.python.org/pypi/astropy>`_ 1.0 or greater
* `numpy <https://pypi.python.org/pypi/numpy>`_ 1.7 or greater
* `matplotlib <http://matplotlib.org/>`_ (optional)
conda install pysynphot

To install the PyPI release::

To install the
`standalone <https://github.com/spacetelescope/pysynphot/releases>`_ release::
pip install pysynphot

pip install git+https://github.com/spacetelescope/pysynphot.git@0.9.8.8
If missing, the following dependencies must also be installed:

**pysynphot** is not fully tested under Python 3, but it should work.
* `astropy <https://pypi.python.org/pypi/astropy>`_ 1.1 or greater
* `numpy <https://pypi.python.org/pypi/numpy>`_ 1.9 or greater
* `matplotlib <http://matplotlib.org/>`_ (optional)

Data files for **pysynphot** are distributed separately by
`Calibration Reference Data System <http://www.stsci.edu/hst/observatory/crds/throughput.html>`_.
Expand Down

0 comments on commit d6d25e7

Please sign in to comment.