set-tmpl-path.patch (618B)
1 diff --git i/tilecloud/scripts/tc_viewer.py w/tilecloud/scripts/tc_viewer.py 2 index 1c5e6056..8cabfd10 100755 3 --- i/tilecloud/scripts/tc_viewer.py 4 +++ w/tilecloud/scripts/tc_viewer.py 5 @@ -112,12 +112,12 @@ def openwebglobe(): 6 7 @bottle.route("/favicon.ico") 8 def favicon(): 9 - return bottle.static_file("favicon.ico", root="static") 10 + return bottle.static_file("favicon.ico", root="@site_packages@/static") 11 12 13 @bottle.route("/static/<path:re:.*>") 14 def static(path): 15 - return bottle.static_file(path, root="static") 16 + return bottle.static_file(path, root="@site_packages@/static") 17 18 19 @bottle.route("/")