forked from bricebou/weewx-netatmo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.py
30 lines (25 loc) · 971 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
27
28
29
30
# installer for netatmo driver
# Copyright 2015 Matthew Wall
# Distributed under the terms of the GNU Public License (GPLv3)
from setup import ExtensionInstaller
def loader():
return NetatmoInstaller()
class NetatmoInstaller(ExtensionInstaller):
def __init__(self):
super(NetatmoInstaller, self).__init__(
version="0.17",
name='netatmo',
description='Driver for netatmo weather stations.',
author="Matthew Wall",
author_email="[email protected]",
config={
'netatmo': {
'username': 'INSERT_USERNAME_HERE',
'password': 'INSERT_PASSWORD_HERE',
'client_id': 'INSERT_CLIENT_ID_HERE',
'client_secret': 'INSERT_CLIENT_SECRET_HERE',
'driver': 'user.netatmo',
}
},
files=[('bin/user', ['bin/user/netatmo.py'])]
)