File tree Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Original file line number Diff line number Diff line change
1
+ .. image :: https://img.shields.io/pypi/v/xlayers.svg?style=for-the-badge
2
+ :target: https://pypi.org/project/xlayers
3
+ :alt: Python Package Index
4
+
5
+ .. image :: https://img.shields.io/conda/vn/conda-forge/xlayers.svg?style=for-the-badge
6
+ :target: https://anaconda.org/conda-forge/xlayers
7
+ :alt: Conda Version
8
+
9
+
1
10
xlayers: Python implementation of MITgcm's layer package
2
11
========================================================
3
12
4
- xlayers requires the fortran-compiler package. Installing via `conda `_ is the easiest way::
13
+
14
+
15
+ Installation
16
+ ------------
17
+
18
+
19
+ xlayers can be installed from PyPI with pip:
20
+
21
+ .. code-block :: bash
22
+
23
+ python -m pip install xlayers
24
+
25
+
26
+ It is also available from `conda-forge ` for conda installations:
27
+
28
+ .. code-block :: bash
29
+
30
+ conda install -c conda-forge xlayers
31
+
32
+ To install xlayers from source repository, the fortran-compiler package is required. The easiest way to install the fortran-compiler is via `conda `_ :
33
+
34
+ .. code-block :: bash
5
35
6
36
conda install -c conda-forge fortran-compiler
7
37
unset LDFLAGS
8
38
9
39
.. _conda : https://conda-forge.org/
10
40
11
- To install xlayers from Github::
41
+ Once the compiler is installed, now we can install xlayers from Github:
42
+
43
+ .. code-block :: bash
12
44
13
45
git clone https://github.com/cspencerjones/xlayers.git
14
46
cd xlayers
You can’t perform that action at this time.
0 commit comments