mirror of
https://github.com/weewx/weewx.git
synced 2026-04-18 00:26:57 -04:00
33 lines
817 B
Python
Executable File
33 lines
817 B
Python
Executable File
#!/usr/bin/env python
|
|
#
|
|
# Copyright (c) 2009, 2010, 2011 Tom Keffer <tkeffer@gmail.com>
|
|
#
|
|
# See the file LICENSE.txt for your full rights.
|
|
#
|
|
# $Revision$
|
|
# $Author$
|
|
# $Date$
|
|
#
|
|
"""weewxd.py
|
|
|
|
Entry point to the weewx weather system.
|
|
|
|
If you wish to use a different engine than the default,
|
|
then subclass the default engine "StdEngine" and specify that class in
|
|
the call to the main entry point as parameter 'EngineClass'.
|
|
|
|
See the document "customizing.htm" for details.
|
|
"""
|
|
# First import any user extensions:
|
|
import user.extensions #@UnusedImport
|
|
# Now the engine
|
|
import weewx.wxengine
|
|
|
|
# Enter the main loop. This call will use the default
|
|
# engine, StdEngine, but this can be overridden with
|
|
# keyword EngineClass. E.g.,
|
|
#
|
|
# weewx.wxengine.main(EngineClass = MyEngine)
|
|
#
|
|
weewx.wxengine.main()
|