...
 
Commits (2)
......@@ -6,9 +6,9 @@ Install xarray-topo
Required dependencies
---------------------
- Python 3.4 or later.
- Python 3.5 or later.
- `numpy <http://www.numpy.org/>`__
- `xarray <http://xarray.pydata.org>`__ (0.8.0 or later)
- `xarray <http://xarray.pydata.org>`__ (0.10.0 or later)
- `numba <http://numba.pydata.org/>`__ (0.29.0 or later)
Optional dependencies
......@@ -17,18 +17,39 @@ Optional dependencies
For landscape evolution modeling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- `xarray-simlab <http://xarray-simlab.readthedocs.io>`__
- `xarray-simlab <http://xarray-simlab.readthedocs.io>`__ (0.2.0 or later)
Install from source
Install using conda
-------------------
There is currently no ``xarray-topo`` release available at PyPi_
or conda-forge_.
xarray-topo can be installed or updated using conda_::
$ conda install xarray-topo -c conda-forge
This installs xarray-topo and all common dependencies, including
numpy and xarray.
xarray-topo conda package is maintained on the `conda-forge`_
channel.
.. _conda-forge: https://conda-forge.org/
.. _conda: https://conda.io/docs/
Install using pip
-----------------
You can also install xarray-topo and its required dependencies using
``pip``::
$ pip install xarray-topo
Install from source
-------------------
Be sure you have the required dependencies (numpy and xarray)
installed first. You might consider using conda_ to install them::
$ conda install xarray numba numpy pip -c conda-forge
$ conda install xarray xarray-simlab numba numpy pip -c conda-forge
A good practice (especially for development purpose) is to install the packages
in a separate environment, e.g. using conda::
......
......@@ -18,6 +18,6 @@ setup(name='xarray-topo',
packages=['xtopo', 'xtopo.models', 'xtopo.algos'],
long_description=(open('README.rst').read() if exists('README.rst')
else ''),
python_requires='>=3.4',
install_requires=['numpy', 'xarray >= 0.8.0', 'numba >= 0.35.0'],
python_requires='>=3.5',
install_requires=['numpy', 'numba >= 0.35.0', 'xarray >= 0.10.0'],
zip_safe=False)