mirror of
https://github.com/weewx/weewx.git
synced 2026-04-18 08:36:54 -04:00
28 lines
850 B
Python
28 lines
850 B
Python
# installer for xstats
|
|
# Copyright 2014 Matthew Wall
|
|
|
|
from weecfg.extension import ExtensionInstaller
|
|
|
|
|
|
def loader():
|
|
return XStatsInstaller()
|
|
|
|
|
|
class XStatsInstaller(ExtensionInstaller):
|
|
def __init__(self):
|
|
super(XStatsInstaller, self).__init__(
|
|
version="0.2",
|
|
name='xstats',
|
|
description='Extended statistics for weewx reports',
|
|
author="Matthew Wall",
|
|
author_email="mwall@users.sourceforge.net",
|
|
config={
|
|
'StdReport': {
|
|
'xstats': {
|
|
'skin': 'xstats',
|
|
'HTML_ROOT': 'xstats'}}},
|
|
files=[('bin/user', ['bin/user/xstats.py']),
|
|
('skins/xstats', ['skins/xstats/skin.conf',
|
|
'skins/xstats/index.html.tmpl'])]
|
|
)
|