Skip to content

Commit d588a67

Browse files
authored
Merge pull request #397 from hugovk/patch-2
Update minimum Python versions
2 parents f172a81 + 72f0e76 commit d588a67

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

doc/users/installing.rst

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,24 @@ Dependencies
1010
**Requirements**
1111

1212
These are external packages which you will need to install before
13-
installing basemap.
13+
installing Basemap.
1414

1515

16-
matplotlib 1.0.0 (or later, `download <http://sf.net/projects/matplotlib/>`__)
16+
Matplotlib 1.0.0 (or later, `download <https://matplotlib.org/users/installing.html>`__)
1717

18-
Python 2.4 (or later, including Python 3)
19-
matplotlib requires python 2.4 or later (`download <http://www.python.org/download/>`__)
18+
Python 2.6 (or later, including Python 3) (`download <http://www.python.org/download/>`__)
19+
Matplotlib 2.2 LTS requires Python 2.7 or later
20+
Matplotlib 3.0 requires Python 3.5 or later
2021

21-
numpy 1.2.1 (or later)
22-
array support for python (`download <http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103>`__)
22+
NumPy 1.2.1 (or later)
23+
Array support for Python (`download <http://www.numpy.org/>`__)
2324

2425
`PROJ4 <https://trac.osgeo.org/proj/>`__ Cartographic Projections Library.
2526

26-
**Required library that ships with basemap**
27+
**Required library that ships with Basemap**
2728

2829
`GEOS <http://trac.osgeo.org/geos/>`__ (Geometry Engine - Open Source) library 3.1.1 or later.
29-
Source code is included in the geos-3.3.3 directory.
30+
Source code is included in the geos-3.3.3 directory.
3031
When building from source, must be built and installed separately
3132
from basemap (see build instructions below).
3233
Included in Windows binary installers.
@@ -40,8 +41,8 @@ Pillow
4041
Installation
4142
============
4243

43-
Download either Windows binary installers or source tarballs
44-
`here <https://github.com/matplotlib/basemap/releases/>`__.
44+
Download either Windows binary installers or source tarballs
45+
`here <https://github.com/matplotlib/basemap/releases/>`__.
4546

4647
To install from the source, follow these steps:
4748

@@ -52,7 +53,7 @@ To install from the source, follow these steps:
5253
and cd to the basemap-X.Y.Z directory.
5354

5455
* Install the GEOS library. If you already have it on your
55-
system, just set the environment variable GEOS_DIR to point to the location
56+
system, just set the environment variable GEOS_DIR to point to the location
5657
of libgeos_c and geos_c.h (if libgeos_c is in /usr/local/lib and
5758
geos_c.h is in /usr/local/include, set GEOS_DIR to /usr/local).
5859
Then go to next step. If you don't have it, you can build it from
@@ -62,12 +63,12 @@ To install from the source, follow these steps:
6263
export GEOS_DIR=<where you want the libs and headers to go>
6364
# A reasonable choice on a Unix-like system is /usr/local, or
6465
# if you don't have permission to write there, your home directory.
65-
./configure --prefix=$GEOS_DIR
66+
./configure --prefix=$GEOS_DIR
6667
make; make install
6768

6869
* cd back to the top level basemap directory (basemap-X.Y.Z) and
6970
run the usual ``python setup.py install``. Check your installation
70-
by running ``from mpl_toolkits.basemap import Basemap`` at the python
71+
by running ``from mpl_toolkits.basemap import Basemap`` at the Python
7172
prompt.
7273

7374
* To test, cd to the examples directory and run ``python simpletest.py``.

0 commit comments

Comments
 (0)