forked from poblabs/weewx-belchertown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.py
96 lines (93 loc) · 5.87 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Installer for Belchertown weewx skin
# Pat O'Brien, 2018
from setup import ExtensionInstaller
def loader():
return ExfoliationInstaller()
class ExfoliationInstaller(ExtensionInstaller):
def __init__(self):
super(ExfoliationInstaller, self).__init__(
version="0.8.2",
name='Belchertown',
description='A clean modern skin with real time streaming updates and interactive charts. Modeled after BelchertownWeather.com',
author="Pat OBrien",
author_email="pat@obrienlabs.net",
config={
'StdReport': {
'Belchertown': {
'skin':'Belchertown',
'HTML_ROOT':'belchertown'
},
'Highcharts_Belchertown': {
'skin':'Highcharts_Belchertown',
'HTML_ROOT':'belchertown'
}
}
},
files=[('bin/user', ['bin/user/belchertown.py',
'bin/user/belchertown_highchartsSearchX.py'
]
),
('skins/Belchertown', ['skins/Belchertown/favicon.ico',
'skins/Belchertown/footer.html.tmpl',
'skins/Belchertown/header.html.tmpl',
'skins/Belchertown/index.html.tmpl',
'skins/Belchertown/about.inc.example',
'skins/Belchertown/index_custom_hooks.inc.example',
'skins/Belchertown/records.inc.example',
'skins/Belchertown/skin.conf',
'skins/Belchertown/style.css'
]
),
('skins/Belchertown/about', ['skins/Belchertown/about/index.html.tmpl']),
('skins/Belchertown/graphs', ['skins/Belchertown/graphs/index.html.tmpl']),
('skins/Belchertown/NOAA', ['skins/Belchertown/NOAA/NOAA-YYYY-MM.txt.tmpl',
'skins/Belchertown/NOAA/NOAA-YYYY.txt.tmpl'
]
),
('skins/Belchertown/pi', ['skins/Belchertown/pi/index.html.tmpl',
'skins/Belchertown/pi/pi-header.html.tmpl'
]
),
('skins/Belchertown/records', ['skins/Belchertown/records/index.html.tmpl']),
('skins/Belchertown/reports', ['skins/Belchertown/reports/index.html.tmpl']),
('skins/Belchertown/js', ['skins/Belchertown/js/highcharts-dayplots.js.tmpl',
'skins/Belchertown/js/highcharts-weekplots.js.tmpl',
'skins/Belchertown/js/highcharts-monthplots.js.tmpl',
'skins/Belchertown/js/highcharts-yearplots.js.tmpl',
'skins/Belchertown/js/index.html',
'skins/Belchertown/js/responsive-menu.js'
]
),
('skins/Belchertown/json', ['skins/Belchertown/json/index.html',
'skins/Belchertown/json/weewx_data.json.tmpl'
]
),
('skins/Belchertown/images', ['skins/Belchertown/images/clear-day.png',
'skins/Belchertown/images/clear-night.png',
'skins/Belchertown/images/cloudy.png',
'skins/Belchertown/images/fog.png',
'skins/Belchertown/images/hail.png',
'skins/Belchertown/images/partly-cloudy-day.png',
'skins/Belchertown/images/partly-cloudy-night.png',
'skins/Belchertown/images/rain.png',
'skins/Belchertown/images/sleet.png',
'skins/Belchertown/images/snow.png',
'skins/Belchertown/images/snowflake-icon-15px.png',
'skins/Belchertown/images/sunrise.png',
'skins/Belchertown/images/sunset.png',
'skins/Belchertown/images/thunderstorm.png',
'skins/Belchertown/images/tornado.png',
'skins/Belchertown/images/wind.png',
'skins/Belchertown/images/index.html'
]
),
('skins/Highcharts_Belchertown', ['skins/Highcharts_Belchertown/skin.conf']
),
('skins/Highcharts_Belchertown/json', ['skins/Highcharts_Belchertown/json/day.json.tmpl',
'skins/Highcharts_Belchertown/json/week.json.tmpl',
'skins/Highcharts_Belchertown/json/month.json.tmpl',
'skins/Highcharts_Belchertown/json/year.json.tmpl',
]
)
]
)