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 and PYENV_VERSION settings run unit tests and 

When weewx is installable with pip and declares its dependencies
properly, it would be very easy to use tox to automate this:
https://tox.readthedocs.io/en/latest/config.html#generating-environments-conditional-settings
You might still need to install python separately. Fedora packages all
important major versions, therefore I use just them.

Afterwards, you can run all tests just with tox or select certain
combinations with tox -e py27-weewx3,py27-weewx4 for example.

The additional value is that this is how it works on other python
projects, too, and you do not need to write special code to automate
this for weewx.

Thanks
Till

-- 
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/20200510155536.GB25070%40genius.invalid.

Reply via email to