mirror of
https://github.com/weewx/weewx.git
synced 2026-04-19 00:56:54 -04:00
25 lines
734 B
Python
25 lines
734 B
Python
# $Id$
|
|
# installer for EmonCMS
|
|
# Copyright 2014 Matthew Wall
|
|
|
|
from setup import ExtensionInstaller
|
|
|
|
def loader():
|
|
return EmonCMSInstaller()
|
|
|
|
class EmonCMSInstaller(ExtensionInstaller):
|
|
def __init__(self):
|
|
super(EmonCMSInstaller, self).__init__(
|
|
version="0.1",
|
|
name='emoncms',
|
|
description='Upload weather data to EmonCMS.',
|
|
author="Matthew Wall",
|
|
author_email="mwall@users.sourceforge.net",
|
|
restful_services='user.emoncms.EmonCMS',
|
|
config={
|
|
'StdRESTful': {
|
|
'EmonCMS': {
|
|
'token': 'INSERT_TOKEN_HERE'}}},
|
|
files=[('bin/user', ['bin/user/emoncms.py'])]
|
|
)
|