um, why is "create a station" even looking for the location of weewxd?

at 'station create' time, why not just copy all of the parameterized utils 
into the utils directory, without replacing any parameters?

(by 'parameters' i mean the WEEWX_ROOT, WEEWX_BINDIR, WEEWX_CFGDIR and 
others like them.  btw we need to canonicalize that list...)

when someone actually installs something from utils, only *then* do you 
replace the parameters.  that is done either manually, or with weectl.  at 
that time you know *exactly* where everything is located, because if you 
are doing it with weectl, you know where weectl, is thus you know where 
weewxd is.  and if you are doing it manually, then you know what you are 
doing.

the package installers are gonna want untouched, 
still-with-parameters-not-replaced-in-them files in the util directory.  
otherwise they will have to dig through the python tree to find them in 
their virgin form.

or maybe i am misunderstanding this thread?

m

-- 
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/547f5c18-978b-444e-a838-fa9700409cean%40googlegroups.com.

Reply via email to