Skip to content

Commit dd6d3f6

Browse files
authored
Merge pull request #293 from WeatherGod/metadata_updates
Version bump to 1.1.0. Update Changelog. Update package metadata.
2 parents a8dca0b + ee23b72 commit dd6d3f6

File tree

8 files changed

+61
-38
lines changed

8 files changed

+61
-38
lines changed

.travis.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ matrix:
4747
- NUMPY=numpy==1.7.0
4848
- MPL=matplotlib==1.2.0
4949
- BUILD_LIBGEOS=internal
50-
- python: 3.3
51-
env:
52-
- NUMPY=numpy==1.7.0
53-
- MPL=matplotlib==1.2.0
54-
- BUILD_LIBGEOS=internal
5550

5651
# "middle of the road" environment
5752
# use prepackaged binaries
@@ -60,6 +55,7 @@ matrix:
6055
env:
6156
- MPL=matplotlib==1.4.3
6257
- NUMPY=numpy==1.9.3
58+
- BUILD_LIBGEOS=internal
6359

6460
# "latest and greatest" stable environments
6561
# this uses the current stable versions
@@ -70,7 +66,10 @@ matrix:
7066
- python: 3.5
7167
env:
7268
- BUILD_LIBGEOS=3.5.0
73-
69+
- python: 3.6
70+
env:
71+
- BUILD_LIBGEOS=3.5.0
72+
7473
# "current development" environment
7574
# this test is diagnostic for development versions and is not required to pass
7675
- python: "nightly"

Changelog

+16-9
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
1-
version 1.0.8 (not yet released)
1+
version 1.1.0 (git tag v1.1.0rel)
22
--------------------------------
3-
* removes inline pyshp and pyproj code and uses makes these packages required
4-
external dependencies (handling issue 230).
5-
* add 'textcolor' kwarg to drawmeridians and drawparallels (issue 145).
3+
* Updated packaged data to use GSHHG v2.3.6 (PR #311 & #320)
4+
* pyshp/pyproj are now external dependencies (PR #234)
5+
* Proper clipping of plots regardless of projection (issue #175)
6+
* drawmapscale() supports "feet" as an input unit (PR #289)
7+
* nightshade() supports datetime timezone-aware datetime objects
8+
as long as the timezone is UTC. Still assumes timezone-naive
9+
objects are UTC as well. (issue #272)
10+
* Properly perform input validation/casting (issue #260)
11+
* Support newer versions of OWSLib (PR #259)
12+
* Use integer indexes (PR #246)
13+
* Stop ResourceWarnings for unclosed files in py3k (PR #244)
14+
* add 'textcolor' kwarg to drawmeridians and drawparallels (issue #145).
615
* don't assume grid is regular when adding cyclic point in addcyclic.
716
New kwargs 'axis' and 'cyclic' added. More than one array
8-
can be handled at a time, as long as the last one is longitude. Issue 139.
9-
* fix for coastline drawing glitch (issue 123).
10-
* update shapefile.py to version 1.2.0 from pyshp.googlecode.com. Add back
11-
in modification clobbered in upgrade to version 1.1.7 (issue 30).
17+
can be handled at a time, as long as the last one is longitude. (issue #139).
18+
* fix for coastline drawing glitch (issue #123).
1219
* added 'facecolor' keyward argument to drawcounties() method; gives user
1320
ability to fill counties with specified matplotlib color argument.
1421
* fix drawgreatcircle bug so that lines exiting and reentering a projection
1522
region don't draw horizontally across the map.
1623
* on non-windows platforms, only link against libgeos C API (and not against
17-
C++ API anymore; issue 140). This is recommended by the authors/maintainers
24+
C++ API anymore; issue #140). This is recommended by the authors/maintainers
1825
of GEOS. Also, this means that on e.g. Debian Linux, basemap can now be
1926
installed from source simply using 'pip install basemap' when the libgeos
2027
packages are installed globally using the package management.

doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
# General substitutions.
4444
project = 'Basemap Matplotlib Toolkit'
45-
copyright = '2011, Jeffrey Whitaker'
45+
copyright = '2011, Jeffrey Whitaker; 2016 The matplotlib development team'
4646

4747
# The default replacements for |version| and |release|, also used in various
4848
# other places throughout the built documents.

doc/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Welcome to the Matplotlib Basemap Toolkit documentation!
2-
========================================================
1+
Welcome to the Matplotlib Basemap Toolkit documentation
2+
=======================================================
33

44
.. toctree::
55
:maxdepth: 2

doc/users/installing.rst

+6-7
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,27 @@ Python 2.4 (or later, including Python 3)
2121
numpy 1.2.1 (or later)
2222
array support for python (`download <http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103>`__)
2323

24-
**Required libraries that ship with basemap**
24+
`PROJ4 <https://trac.osgeo.org/proj/>`__ Cartographic Projections Library.
25+
26+
**Required library that ships with basemap**
2527

2628
`GEOS <http://trac.osgeo.org/geos/>`__ (Geometry Engine - Open Source) library 3.1.1 or later.
2729
Source code is included in the geos-3.3.3 directory.
2830
When building from source, must be built and installed separately
2931
from basemap (see build instructions below).
3032
Included in Windows binary installers.
3133

32-
`PROJ4 <http://trac.osgeo.org/proj/>`__ Cartographic Projections Library.
33-
Patched version automatically built into basemap.
34-
3534
**Optional libraries**
3635

37-
PIL
38-
Python Imaging Library (`download <http://www.pythonware.com/products/pil/>`__),
36+
Pillow
37+
Python Imaging Library (`download <https://python-pillow.org/>`__),
3938
only needed for :func:`~mpl_toolkits.basemap.Basemap.bluemarble`, :func:`~mpl_toolkits.basemap.Basemap.etopo`, :func:`~mpl_toolkits.basemap.Basemap.shadedrelief` and :func:`~mpl_toolkits.basemap.Basemap.warpimage` instance methods.
4039

4140
Installation
4241
============
4342

4443
Download either Windows binary installers or source tarballs
45-
`here <http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/>`__.
44+
`here <https://github.com/matplotlib/basemap/releases/>`__.
4645

4746
To install from the source, follow these steps:
4847

doc/users/intro.rst

+23-7
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,30 @@ datasets (from `Generic Mapping Tools <http://gmt.soest.hawaii.edu/>`_)
2121
are provided, along with methods for plotting them. The `GEOS library
2222
<http://geos.refractions.net>`_ is used internally to clip the coastline and polticial boundary features to the desired map projection region.
2323

24-
Basemap provides facilities for reading `shapefiles
25-
<http://en.wikipedia.org/wiki/Shapefile>`_.
26-
27-
Basemap is geared toward the needs of earth scientists, particular
28-
oceanographers and meteorologists. I originally wrote Basemap to help in my
29-
research (climate and weather forecasting), since at the time
24+
Basemap is geared toward the needs of earth scientists, particularly
25+
oceanographers and meteorologists. Jeff Whitaker originally wrote Basemap
26+
to help in his research (climate and weather forecasting), since at the time
3027
`CDAT <http://www-pcmdi.llnl.gov/software/cdat/support/vcs/vcs.html>`_ was
3128
the only other tool in python for plotting data on map projections. Over
3229
the years, the capabilities of Basemap have evolved as scientists in other
3330
disciplines (such as biology, geology and geophysics) requested and
34-
contributed new features.
31+
contributed new features.
32+
33+
Cartopy, New Management, and EoL Announcement
34+
=============================================
35+
36+
Starting in 2016, Basemap came under new management. The
37+
`Cartopy project <http://scitools.org.uk/cartopy/>`_ will replace
38+
Basemap, but it hasn't yet implemented all of Basemap's features.
39+
All new software development should try to use Cartopy whenever possible,
40+
and existing software should start the process of switching over to use
41+
Cartopy. All maintenance and development efforts should be focused on
42+
Cartopy.
43+
44+
Ben Root has volunteered to take over maintenance of Basemap until 2020.
45+
Pull requests will be reviewed, and bugs will be fixed. Also, the
46+
maintenance will ensure compatibility with packages like NumPy and Matplotlib.
47+
New features will be accepted, but we stress that new development efforts
48+
should be focused on Cartopy. When Python 2.7 is officially EoL'ed in 2020,
49+
a release of Basemap will be made and support from Ben Root will end.
50+

lib/mpl_toolkits/basemap/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
else:
5050
basemap_datadir = os.sep.join([os.path.dirname(__file__), 'data'])
5151

52-
__version__ = '1.0.8'
52+
__version__ = '1.1.0'
5353

5454
# module variable that sets the default value for the 'latlon' kwarg.
5555
# can be set to True by user so plotting functions can take lons,lats

setup.py

+7-5
Original file line numberDiff line numberDiff line change
@@ -115,20 +115,22 @@ def checkversion(GEOS_dir):
115115
"pyshp >= 1.2.0"
116116
]
117117

118-
__version__ = "1.0.8"
118+
__version__ = "1.1.0"
119119
setup(
120120
name = "basemap",
121121
version = __version__,
122122
description = "Plot data on map projections with matplotlib",
123123
long_description = """
124124
An add-on toolkit for matplotlib that lets you plot data
125125
on map projections with coastlines, lakes, rivers and political boundaries.
126-
See http://www.scipy.org/wikis/topical_software/Maps for an
127-
example of what it can do.""",
128-
url = "http://matplotlib.sourceforge.net/toolkits.html",
129-
download_url = "https://downloads.sourceforge.net/project/matplotlib/matplotlib-toolkits/basemap-{0}/basemap-{0}.tar.gz".format(__version__),
126+
See http://matplotlib.org/basemap/users/examples.html for
127+
examples of what it can do.""",
128+
url = "http://matplotlib.org/basemap/",
129+
download_url = "https://github.com/matplotlib/basemap/archive/v{0}rel.tar.gz".format(__version__),
130130
author = "Jeff Whitaker",
131131
author_email = "[email protected]",
132+
maintainer = "Ben Root",
133+
maintainer_email = "[email protected]",
132134
install_requires = requirements,
133135
platforms = ["any"],
134136
license = "OSI Approved",

0 commit comments

Comments
 (0)