rename the 'howfast.py' script to a more user friendly name 'mapnik-speed-check'

This commit is contained in:
Dane Springmeyer 2011-09-10 18:27:31 +00:00
parent 962b2afb85
commit 6752760c9a
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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])