-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.py
More file actions
24 lines (21 loc) · 802 Bytes
/
install.py
File metadata and controls
24 lines (21 loc) · 802 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
# Installer for meteo.cam
from setup import ExtensionInstaller
def loader():
return MeteoCamInstaller()
class MeteoCamInstaller(ExtensionInstaller):
def __init__(self):
super(MeteoCamInstaller, self).__init__(
version="0.1",
name='meteocam',
description='Upload weather data to meteo.cam',
author="Ingo Oppermann",
author_email="ingo@oppermann.ch",
restful_services='user.meteocam.MeteoCam',
config={
'StdRESTful': {
'MeteoCam': {
'enable': 'true',
'station_key': 'INSERT_KEY_HERE',
'station_id': 'INSERT_ID_HERE'}}},
files=[('bin/user', ['bin/user/meteocam.py'])]
)