Wow if you drill down through that thread it gets crazy confusing....but (this 
one) 
<https://discuss.python.org/t/should-there-be-a-new-standard-for-installing-arbitrary-data-files/7853/12>
 
does help a little although (this other one) 
<https://discuss.python.org/t/modernising-my-packages-am-i-thinking-about-this-all-wrong/14558>
 
got me confused again.  Seems like untrodden ground.

That whole forum tagged with Packaging there can sure make your head spin !

On Sunday, November 6, 2022 at 11:55:38 AM UTC-8 Tom Keffer wrote:

> installs can only be done within "sys.prefix 
> <https://docs.python.org/3/library/sys.html#sys.prefix>". You can't just 
> roam around the file system and install things wherever you like. Hence, 
> a more unixy setup could not be done with pip, even if we wanted to.
>

Got it - but we're not installing a python 'module' here.  We're installing 
a pure python 'application' that is massively configurable by the user. 
 How do you do both ?

Would it be a multi-step installation ala:

   - install unconfigured weewx as a library under 
   /usr/lib/python3/dist-packages or the like (raspi example)
   - and then have a utility therein that writes a customized config to 
   /home/weewx like it does now ?
   - and how would skins, services, extensions, etc. be 
   installed/uninstalled/enabled/disabled/edited ?

Guess I'm lost here for how we'd mechanically do a future installation 
updating a current very tweaked setup.py installation....or even how would 
I build one up from scratch.



-- 
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 weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/c128da8b-3837-4feb-be89-04a8d3dbf35cn%40googlegroups.com.

Reply via email to