Include dependencies in install instructions
@@ -9,50 +9,49 @@ Which Python?
You'll need **Python 3.5 or greater** to run GMT Python.
-We recommend using the Anaconda_ Python distribution to ensure you have all
-dependencies installed and the ``conda`` package manager available.
+We recommend using the `Anaconda <http://continuum.io/downloads#all>`__ Python
+distribution to ensure you have all dependencies installed and the ``conda``
+package manager available.
Installing Anaconda does not require administrative rights to your computer and
doesn't interfere with any other Python installations in your system.
-From source
------------
+Dependencies
+------------
-Use ``pip`` to install the latest source from Github::
+GMT/Python requires the following libraries:
- pip install https://github.com/GenericMappingTools/gmt-python/archive/master.zip
+* Current development version of GMT (6.0.0). ``conda`` packages for Linux and
+ OSX are available through
+ `conda-forge <https://github.com/conda-forge/gmt-feedstock/>`__.
+* numpy
-If you have git installed, you can clone the repository and install using
-``pip``::
+Install the dependencies using ``conda``::
- git clone https://github.com/GenericMappingTools/gmt-python.git
- cd gmt-python
- pip install .
+ conda install gmt numpy -c conda-forge/label/dev -c conda-forge
+**Currently only works on Linux and OSX.**
-Installing GMT trunk
---------------------
-You'll need the current *trunk* version of GMT (future 6.0 release).
-One way to get it is from their Subversion repository.
-See the `build instructions`_.
+Installing from source
+----------------------
-Alternatively, if you are on Linux and using the Anaconda_ Python distribution,
-you can install a pre-compiled version as a conda package from `conda-forge`_.
-First, install the required dependencies::
+Use ``pip`` to install the latest source from Github::
- conda install -c conda-forge fftw gdal ghostscript libnetcdf hdf5=1.8.18.* zlib blas curl pcre
+ pip install https://github.com/GenericMappingTools/gmt-python/archive/master.zip
-Next, install the development version of GMT::
+Alternatively, you can clone the git repository and install using ``pip``::
- conda install -c conda-forge/label/dev gmt
+ git clone https://github.com/GenericMappingTools/gmt-python.git
+ cd gmt-python
+ pip install .
-Finding the library
--------------------
+Finding the GMT shared library
+------------------------------
-After you have GMT installed, you'll need to set the ``LD_LIBRARY_PATH``
-variable so that ``gmt-python`` can find the shared library ``libgmt``.
+You might have to set the ``LD_LIBRARY_PATH``
+variable so that Python can find the GMT shared library ``libgmt``.
If you installed GMT using conda, place the following in your ``~/.bashrc``
file::
@@ -61,8 +60,3 @@ file::
You should change ``$HOME/anaconda3`` to wherever you installed Anaconda (this
is the default for Linux).
-
-
-.. _build instructions: http://gmt.soest.hawaii.edu/projects/gmt/wiki/BuildingGMT
-.. _Anaconda: https://www.continuum.io/downloads
-.. _conda-forge: https://conda-forge.github.io/
