python -m pip install -U pip setuptools
3. Install cheetah easy_install cheetah
4. Install Configobjeasy_install configobj
5. Install PIL (Pillow)easy_install Pillow
6. Install pyserialeasy_install pyserial
7. Install pyusbeasy)install pysub
8. Warp syslogThis is the main part of work done. I have written a syslog wrapper then when placed in weewx bin directory will be used when syslog module does not exist, which is the case on Windows. The wrapper uses the python logging module and provides both a local rotating file logger as well as a syslog formatted message out to localhost on port 514, simulating what happens on a NIX box. I have used VisualSyslog (https://github.com/MaxBelkov/visualsyslog) to verify.
9. Fixes found so far running Simulator
cheetahgenerator.py - os.rename will not overwrite existing file on windows. So delete file before rename.
engine.py - No SIGHUP or SIGTERM on Windows. Need to not register but maybe find another way to raise a restart.
setup.py - Need to create NamedTemporaryFile with delete=False. If further work not done this will leave some temp files around.Fixes
10. Just for kicks, first 3 lines of syslog
Oct 15 17:33:47 ZEBRA weewx[3768]: engine: Initializing weewx version 3.6.1Oct 15 17:33:47 ZEBRA weewx[3768]: engine: Using Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)]
Oct 15 17:33:47 ZEBRA weewx[3768]: engine: Platform Windows-10-10.0.10586
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/8M8qfrmrMfI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.