********************
Installing astropath
********************
This document describes how to install the `astropath`
repository.
Installing Dependencies
=======================
We have and will continue to keep the number of dependencies low.
There are a few standard packages that must be installed
and little more.
In general, we recommend that you use Anaconda or
*pip* for the majority of these installations.
Detailed installation instructions are presented below:
Dependencies
------------
astropath depends on the following list of Python packages.
We recommend that you use `Anaconda `_
to install and/or update these packages.
* `python `_ versions 3.8 or later
* `numpy `_ version 1.18 or later
* `astropy `_ version 4.3 or later
* `scipy `_ version 1.4 or later
* `pandas `_ version 0.25 or later
* `photutils `_ version 1.0.1 or later
* `healpy `_ version 1.14 or later
* `astropy-healpix `_ version 0.5 or later
* `ligo.skymap `_ version 0.5 or later
If you are using Anaconda, you can check the presence of these packages with::
conda list "^python|numpy|astropy|scipy|pandas"
If the packages have been installed, this command should print
out all the packages and their version numbers.
Installing astropath
====================
Presently, you must download the code from github::
# Go to the directory where you would like to install astropath
git clone https://github.com/FRBs/astropath.git
From there, you can build and install with::
cd astropath
python setup.py install # or use develop
This should install the package and any related scripts.
Make sure that your PATH includes the standard
location for Python scripts (e.g. ~/anaconda/bin)