Files
weewx/examples/fileparse/install.py
Tom Keffer fe9eb512a8 Moved things back to their v4 locations.
make target `pypi-packages` copies them back into `wee_resources`
before invoking `poetry build`
2023-02-26 13:52:09 -08:00

28 lines
835 B
Python

# installer for the fileparse driver
# Copyright 2014 Matthew Wall
from weecfg.extension import ExtensionInstaller
def loader():
return FileParseInstaller()
class FileParseInstaller(ExtensionInstaller):
def __init__(self):
super(FileParseInstaller, self).__init__(
version="0.8",
name='fileparse',
description='File parsing driver for weewx.',
author="Matthew Wall",
author_email="mwall@users.sourceforge.net",
config={
'Station': {
'station_type': 'FileParse'},
'FileParse': {
'poll_interval': '10',
'path': '/var/tmp/datafile',
'driver': 'user.fileparse'}},
files=[('bin/user', ['bin/user/fileparse.py'])]
)