- # find directory of dashboard files
- dashboard_file = pkg_resources.resource_filename(
- 'emuvim.dashboard', "index.html")
- dashboard_dir = path.dirname(dashboard_file)
- logging.info("Started emu dashboard: {0}".format(dashboard_dir))
-
- self.app = Flask(__name__, static_folder=dashboard_dir,
- static_url_path='/dashboard')