Files
weewx/examples/xstats/install.py
Tom Keffer fe9eb512a8 Moved things back to their v4 locations.
make target `pypi-packages` copies them back into `wee_resources`
before invoking `poetry build`
2023-02-26 13:52:09 -08:00

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.3",
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'])]
)