I’m not sure if I understand your question correctly but provided you are 
setting the ‘files’ parameter in install.py you can fairly much put 
anything anywhere in the WeeWX bin and skins tree branches irrespective of 
WeeWX install type (eg specifying bin/user will see the installer 
automatically use the correct location of either /home/weewx/bin/user or 
/usr/share/weewx/user depending on the install type). Of course I could be 
misunderstanding your question completely.

One other thing, be wary of placing code outside of the user and skins 
directories; files placed anywhere else in the WeeWX tree may not survive a 
WeeWX upgrade.

Gary

On Monday, 19 July 2021 at 20:28:25 UTC+10 [email protected] wrote:

> I wrote an extension to read the values out of an air quality device. It 
> supplies a lot of observation types not included in the standard database 
> schema. So I wrote a little utility to add the necessary columns to the 
> database (or drop them from it).
>
> Now the problem:
>
> The utilities of WeeWX like wee_database all are started by a little 
> wrapper shell script. But the location of that shell scripts depends on 
> installation way like setup.py or apt-get. How can I define that wrapper 
> script in install.py that it is put to the right place during installation?
>
> https://github.com/roe-dl/weewx-airQ
>

-- 
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/d097f1ca-0376-4cca-a8f6-a5105795e0a8n%40googlegroups.com.

Reply via email to