-
Notifications
You must be signed in to change notification settings - Fork 2
/
install.py
25 lines (22 loc) · 868 Bytes
/
install.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# installer for lastrain
# - cut/paste based on xstats 0.2
from setup import ExtensionInstaller
def loader():
return LastRainInstaller()
class LastRainInstaller(ExtensionInstaller):
def __init__(self):
super(LastRainInstaller, self).__init__(
version="0.2",
name='lastrain',
description='SLE for last rain information for weewx reports',
author="Vince Skahan",
author_email="[email protected]",
config={
'StdReport': {
'lastrain': {
'skin': 'lastrain',
'HTML_ROOT': 'lastrain'}}},
files=[('bin/user', ['bin/user/lastrain.py']),
('skins/lastrain', ['skins/lastrain/skin.conf',
'skins/lastrain/index.html.tmpl'])]
)