Re: [weewx-development] Re: Package weewx like other python projects

2020-05-22 Thread Till Maas
On Sun, May 10, 2020 at 10:19:41AM -0700, mwall wrote: > > > On Sunday, May 10, 2020 at 11:37:17 AM UTC-4, Till Maas wrote: > > > > > > >4. weewx.conf gets automatically patched by an upgrade. This is a big > > >feature of weewx over the stan

Re: [weewx-development] updated weewx-docker repo on github

2020-05-19 Thread Till Maas
Hi Vince, On Sat, May 16, 2020 at 06:30:26PM -0700, Vince Skahan wrote: > > https://github.com/vinceskahan/weewx-docker thank you. This is interesting. What is the purpose of this? It seems to be meant for testing, is this correct? Does this allow to test drivers/extensions/skins, too? Thank y

Re: [weewx-development] Re: Package weewx like other python projects

2020-05-12 Thread Till Maas
Hi, On Sun, May 10, 2020 at 01:27:01PM -0700, Vince Skahan wrote: > Option-2 is how big apps like splunk and puppet do it. They bundle the > interpreter+libs they need under their tree. If you think about it, it's > also how RHEL chose to work the python issue for RHEL-8. They don't use >

Re: [weewx-development] Re: Package weewx like other python projects

2020-05-10 Thread Till Maas
Hi, On Sun, May 10, 2020 at 07:50:04AM -0700, Rich Bell wrote: > 2. Extension development > 1. Download setup.py install type of WeeWX version and untar it > 2. Install versions of python via pyenv > 3. Install prerequisites via pip in each pyenv environment > 4. Via PYTHONPATH an

Re: [weewx-development] Re: Package weewx like other python projects

2020-05-10 Thread Till Maas
Hi, On Sat, May 09, 2020 at 07:12:46PM -0700, Tom Keffer wrote: > At this point, I think we've discussed this enough and it's time to > experiment. From the discussion, I'd say the requirements are: > >1. Ability to install into one directory, such as /home/weewx. It's OK >if it takes som

Re: [weewx-development] weewx with multiple stations supported by a driver

2020-05-07 Thread Till Maas
Hi Greg, On Wed, May 06, 2020 at 01:01:24PM -0400, Greg Troxel wrote: > Till Maas writes: > > > So a PC supports probably several Master Bricks, each master Brick > > several Outdoor Weather Bricklets (they contain the wireless receiver) > > or other sensors and each

[weewx-development] weewx with multiple stations supported by a driver

2020-05-06 Thread Till Maas
Hi, I am currently developing a driver for Tinkerforge sensors. Their architecture is similar to this: PC <-- USB -- Tinkerforge Master Brick +- Bricklet -- Weather Station | `- Sensors |

Re: [weewx-development] Re: Package weewx like other python projects

2020-05-05 Thread Till Maas
On Mon, May 04, 2020 at 04:53:13PM -0700, Vince Skahan wrote: > > Certainly. Too many scope-increase meetings on the project from hell at > work I guess. Sorry if I jumped the gun :-) > > Anyway, I guess I always try to think "*it it was my money funding this, > would I invest here at this tim

Re: [weewx-development] Package weewx like other python projects

2020-05-05 Thread Till Maas
anks Till > > -tk > > > > On Mon, May 4, 2020 at 2:12 PM Till Maas wrote: > > > Hi Tom, > > > > On Mon, May 04, 2020 at 08:36:57AM -0700, Tom Keffer wrote: > > > > > As you can imagine, there have been many discussions both offline and in

Re: [weewx-development] Package weewx like other python projects

2020-05-04 Thread Till Maas
Hi Tom, On Mon, May 04, 2020 at 08:36:57AM -0700, Tom Keffer wrote: > As you can imagine, there have been many discussions both offline and in > weewx-development about these topics. The biggest problem is that weewx is > a program, not a module, which is what pip typically expects to install. >

[weewx-development] Secure installation

2020-05-04 Thread Till Maas
Hi, currently, http://weewx.com does not support HTTPS but only plain text HTTP. The instructions on http://weewx.com/docs/redhat.htm describe to install a repo definition from http://weewx.com/yum/weewx-el8.repo that makes yum install packages from http://weewx.com/yum/weewx/el8 without che

[weewx-development] Package weewx like other python projects

2020-05-04 Thread Till Maas
Hi, currently, I am looking into writing a driver for the tinkerforge outdoor weather station[0] and I have most of the code and understanding. However, since weewx is using its own conventions to install python code, it makes it hard for me to use standard approaches (using a CI for tests, using