Le Thu, 5 Apr 2012 08:39:06 +0200, Jeroen van Rijn <[email protected]> a écrit :
> As of mapnik commit 14700dba16146902ca98fdcacb72b2fba4fa596a, > using 'import mapnik2' raises a DeprecationWarning. > See https://github.com/mapnik/mapnik/issues/941 for details. > > Update imports of the mapnik module to use 'import mapnik' and assert > that the installed version is new enough. > > We need mapnik 2.1.0 (or at least a version newer than 2.0.0 > that supports placement-type="simple") for the Printable Stylesheet, > as per David's suggestion. Thomas pointed out that having the note > in all files was overkill, this patch takes that into account. > > Also update INSTALL with instructions on how to build Mapnik from Git > and which specifically tested commit to use if the latest version > doesn't work. > > CC: [email protected] > CC: [email protected] > CC: [email protected] > Tested-by: Jeroen van Rijn <[email protected]> > Signed-off-by: Jeroen van Rijn <[email protected]> Applied, thanks! Thomas -- Thomas Petazzoni http://thomas.enix.org MapOSMatic http://www.maposmatic.org Logiciels Libres à Toulouse http://www.toulibre.org Embedded Linux http://www.free-electrons.com
