Commit Graph

29 Commits

Author SHA1 Message Date
Matthew Wall
0adef51d40 ensure correct behavior regardless of direction from which the entry point is invoked 2023-12-29 23:03:02 -05:00
Matthew Wall
0d07e52835 make the entry points work out-of-the-box for a run-from-source configuration 2023-11-24 08:07:23 -05:00
matthew wall
5ed504f56d make USER_ROOT explicit in the config file 2023-11-23 21:25:31 -05:00
Tom Keffer
074073889e Use a poetry script to invoke weewxd
Remove six. We can specify it as a dependency instead.

Move daemon.py into the weewx package
2022-11-05 16:22:51 -07:00
Tom Keffer
b14e6ee5d7 Merge branch 'master' into poetry
# Conflicts:
#	setup.cfg
#	setup.py
2022-10-28 16:08:41 -07:00
Tom Keffer
03925c3c9c Register the path of the config file
Apps other than weewxd could use the restful services,
so it's best not rely on weewxd getting invoked.
The location of the config file also gives us information
about use cases, as well as installation method.

See PR #705
2022-10-02 15:54:40 -07:00
Tom Keffer
509a1e5107 Resolve merge conflicts
With PR #705
2022-10-02 15:34:20 -07:00
Tom Keffer
630f7f6fc8 Note location of the Python interpreter in the log. 2022-07-23 09:42:08 -07:00
Tom Keffer
632fe7e109 Catch up merge with master 2022-03-13 12:33:04 -07:00
Vince Skahan
7c9828e35b change installer to entrypoint 2021-10-15 10:54:55 -07:00
Vince Skahan
7c69c5e456 add installer to station registration url 2021-10-11 11:48:05 -07:00
Tom Keffer
6f3f6c3339 Sending a HUP signal to weewxd no longer causes the configuration file to be
reread.

Logging is not done until after the configuration file has been read. This
allows customized logging to start from the very beginning. Fixes issue #699.
2021-09-20 07:49:31 -07:00
Rich Bell
b4db1782be log configuration errors (#637)
Looks good! Thanks, Rich.
2021-01-12 17:51:46 -08:00
Tom Keffer
b399edf7f0 Initial pyproject.toml 2020-12-01 04:47:34 -08:00
Tom Keffer
69a37cb6cb Stack trace now logged as DEBUG instead of INFO 2020-05-09 16:32:05 -07:00
Tom Keffer
c27dfb41d2 Log value of weewx.debug at the info level.
Insures it gets seen!
2020-05-03 16:16:46 -07:00
Tom Keffer
0adb5fdbfb Refactored the start up code for weewxd.
Moved the restart loop from engine.py to weewxd.
2020-01-26 15:58:41 -08:00
gjr80
7f1f09e446 WeeWX config file is now an optional argument when running weewxd 2020-01-26 17:58:56 +10:00
Tom Keffer
1d1fdd8b24 Process name can now be set at the command line. 2019-08-24 05:20:17 -07:00
Tom Keffer
4838e615fe Ported most of the utilities to use the Python logging module. 2019-08-17 14:49:34 -07:00
Tom Keffer
e00771ff7d Python 2/3 version of option_as_list 2018-09-30 12:40:39 -07:00
Tom Keffer
6ec44cb61f Prettied up weewxd --help 2015-12-05 09:02:46 -08:00
Matthew Wall
ec8557095e eliminate weewxd.py 2015-11-15 09:02:30 -05:00
Matthew Wall
2709555409 weewxd is just a symlink to weewxd.py 2015-11-13 16:19:07 -05:00
Tom Keffer
91e9864a98 Went through all the Python code, deleting all SVN $Id$ tags.
Standardized copyright notices, except for those I don't own.
2015-02-21 09:44:19 -08:00
Tom Keffer
412944f28a Added --loop-on-init option for weewxd. If set, the engine will keep retrying if the device cannot be loaded. Otherwise, it will exit. This replaces the very broad "--retry" option. 2015-02-03 19:23:51 +00:00
Matthew Wall
77887933e9 added --retry option to weewxd 2015-02-03 17:45:09 +00:00
Tom Keffer
1738d2ffed Reintegrate from the v3 branch.
V3.0.0b1
2014-11-29 18:15:24 +00:00
Tom Keffer
cfa3ba127b Renamed the executables yet again. This time, removed the ".py" suffix. 2013-02-09 17:06:55 +00:00