mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
rename the 'howfast.py' script to a more user friendly name 'mapnik-speed-check'
This commit is contained in:
parent
962b2afb85
commit
6752760c9a
@ -22,7 +22,7 @@
|
||||
import os
|
||||
Import ('env')
|
||||
|
||||
TARGET = 'howfast.py'
|
||||
TARGET = 'mapnik-speed-check'
|
||||
|
||||
if 'uninstall' not in COMMAND_LINE_TARGETS:
|
||||
env.Install(os.path.join(env['INSTALL_PREFIX'],'bin'), TARGET)
|
||||
|
||||
@ -6,7 +6,7 @@ import mapnik2 as mapnik
|
||||
from timeit import Timer, time
|
||||
|
||||
if not len(sys.argv) >= 3:
|
||||
sys.exit('usage: howfast.py <stylesheet> <iterations> [minx,miny,maxx,maxy]')
|
||||
sys.exit('usage: mapnik-speed-check <stylesheet> <iterations> [minx,miny,maxx,maxy]')
|
||||
|
||||
m = mapnik.Map(256,256)
|
||||
mapnik.load_map(m,sys.argv[1])
|
||||
Loading…
x
Reference in New Issue
Block a user