forked from matthewwall/weewx-cwxn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.py
26 lines (23 loc) · 883 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
26
# installer for weewx-aprx
# Distributed under the terms of the GNU Public License (GPLv3)
from weecfg.extension import ExtensionInstaller
def loader():
return weewxAprxInstaller()
class weewxAprxInstaller(ExtensionInstaller):
def __init__(self):
super(weewxAprxInstaller, self).__init__(
version="0.5",
name='aprx',
description='Emit an aprx ready file aprx_wx.txt.',
author="Mohd Misnan",
author_email="[email protected]",
process_services='user.aprx.weewxAprx',
config={
'weewxAprx' : {
'filename': '/var/tmp/aprx_wx.txt',
'binding': 'loop',
'symbol': '/_',
'note': '',
'position': 'true'},},
files=[('bin/user', ['bin/user/aprx.py'])]
)