@@ -10,8 +10,7 @@ Installing
10
10
We welcome any feedback and ideas!
11
11
Let us know by submitting
12
12
`issues on Github <https://github.com/GenericMappingTools/pygmt/issues >`__
13
- or send us a message on our
14
- `Gitter chatroom <https://gitter.im/GenericMappingTools/pygmt >`__.
13
+ or by posting on our `Discourse forum <https://forum.generic-mapping-tools.org >`__.
15
14
16
15
17
16
Which Python?
@@ -29,16 +28,15 @@ doesn't interfere with any other Python installations in your system.
29
28
Which GMT?
30
29
----------
31
30
32
- PyGMT requires GMT 6 as a minimum, which you can find the latest development version
33
- at `this GitHub repository <https://github.com/GenericMappingTools/gmt >`__.
31
+ PyGMT requires Generic Mapping Tools (GMT) version 6 as a minimum, which is the latest
32
+ released version that can be found at
33
+ `this website <https://www.generic-mapping-tools.org >`__.
34
34
35
35
We need the very latest GMT since there are many changes being made to GMT itself in
36
36
response to the development of PyGMT, mainly the new
37
37
`modern execution mode <https://gmt.soest.hawaii.edu/projects/gmt/wiki/Modernization >`__.
38
38
39
- **GMT 6 has not been officially released yet **, but will be soon!
40
- In the meantime, GMT does provide compiled conda packages of their development version
41
- for Linux, Mac and Windows through
39
+ Compiled conda packages of GMT for Linux, Mac and Windows are provided through
42
40
`conda-forge <https://anaconda.org/conda-forge/gmt >`__.
43
41
Advanced users can also
44
42
`build GMT from source <https://github.com/GenericMappingTools/gmt/blob/master/BUILDING.md >`__
@@ -72,15 +70,14 @@ We recommend working in an isolated
72
70
to avoid issues with competing versions of its dependencies.
73
71
74
72
First, we must configure conda to get packages from the
75
- `conda-forge channel <https://conda-forge.org/ >`__ (the order is important) ::
73
+ `conda-forge channel <https://conda-forge.org/ >`__::
76
74
77
- conda config --prepend channels conda-forge/label/dev
78
75
conda config --prepend channels conda-forge
79
76
80
77
Now we can create a new conda environment with Python and all our dependencies installed
81
78
(we'll call it ``pygmt `` but you can change it to whatever you want)::
82
79
83
- conda create --name pygmt python=3.6 pip numpy pandas xarray packaging gmt=6.0.0rc*
80
+ conda create --name pygmt python=3.6 pip numpy pandas xarray packaging gmt=6.0.0
84
81
85
82
Activate the environment by running::
86
83
@@ -139,5 +136,5 @@ You can tell PyGMT exactly where to look for ``libgmt`` by setting the
139
136
This should be set to the directory where ``libgmt.so ``, ``libgmt.dylib `` or ``gmt.dll ``
140
137
can be found for Linux, MacOS and Windows respectively.
141
138
e.g. in a terminal run::
142
-
139
+
143
140
export GMT_LIBRARY_PATH=$HOME/anaconda3/envs/pygmt/lib
0 commit comments