from bottle import route, run, default_app

__version__ = '${build_version}'

app = default_app()

@route("/")
def hello_world():
    return "<html><body><h2>Hello World!</h2><br/><b>Build Version:</b> <i>{0}</i></body></html>"\
        .format(__version__)


def run_server():
    run(host="0.0.0.0", port=8080, server="tornado")

if __name__ == '__main__':
    run_server()

from bottle import route, run, default_app

__version__ = '${build_version}'

app = default_app()

@app.route("/")
def hello_world():
    return "<html><body><h2>Hello World!</h2><br/><b>Build Version:</b> <i>{0}</i></body></html>"\
        .format(__version__)


def run_server():
    run(host="0.0.0.0", port=8080, server="tornado")

if __name__ == '__main__':
    run_server()

use @app.route() for route()