What I use is echo "hood river\n700,foot\n45\n-125\nmetric\n6\n\n\n" | python ./setup.py install
NB: this worked for V3.x. Version 4 asks the user whether s/he wants to register the station, so you'd have to add that. -tk On Fri, May 1, 2020 at 6:18 PM Vince Skahan <[email protected]> wrote: > Looks like the --no-prompt option was removed from setup.py in > https://github.com/weewx/weewx/commit/26a3a5a88fd7a8a47bd2a136e71b4f8f706386e7 > or near there a month or so ago. > > I use this to permit hands-off automation with Vagrant and other scripted > installs where I want to default to the Simulator driver with no prompting > of questions (which I can't answer of course, it's hands-off DevOps-like > automation). > > Is there an alternate way to have setup.py install the simulator, or could > this option be put back in ? > > > -- > You received this message because you are subscribed to the Google Groups > "weewx-development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-development/ed011528-5b99-4e41-b77f-45fb6d435bdd%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/ed011528-5b99-4e41-b77f-45fb6d435bdd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/CAPq0zEDZRFJM_5G8SsVttaH%2BKZsgN0gAGP2YiXhheH2L4BouWg%40mail.gmail.com.
