forked from Jterrettaz/weewx-windy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.py
More file actions
25 lines (22 loc) · 843 Bytes
/
install.py
File metadata and controls
25 lines (22 loc) · 843 Bytes
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 windy
# Copyright 2019-2020 Matthew Wall
# Distributed under the terms of the GNU Public License (GPLv3)
from weecfg.extension import ExtensionInstaller
def loader():
return WindyInstaller()
class WindyInstaller(ExtensionInstaller):
def __init__(self):
super(WindyInstaller, self).__init__(
version="0.8",
name='windy',
description='Upload weather data to Windy.',
author="Matthew Wall",
author_email="mwall@users.sourceforge.net",
restful_services='user.windy.Windy',
config={
'StdRESTful': {
'Windy': {
'station_id': 'replace_me',
'station_password': 'replace_me'}}},
files=[('bin/user', ['bin/user/windy.py'])]
)