Improve and extend wheel deployments, conda package
In order to avoid bumping into issues #87 (closed) and #90 (closed) again, it would be nice to:
-
create a conda package and add deployment to CI (issue #21) -
submit conda package to conda-forge, update conda install instructions -
fix the Windows wheel build on the CI -
build wheels/conda packages for Python 3.5-3.8 for Windows and Linux -
add a test that creates a new environment and executes pip install wetb
. The test succeeds if it can either import wetb in that environment, or even better, can pass all the normal tests (python -m pytest --cov=wetb
). We could consider if this test should only run when deploying to pypi, or after every commit.
Note that currently, on Windows and with conda, pip install wetb
will not work. Until we have a conda package, the Windows+conda installation procedure is outlined here: https://gitlab.windenergy.dtu.dk/toolbox/WindEnergyToolbox/-/blob/master/docs/install.md (just tested again on Windows 10 with Miniconda3 and python 3.6 and 3.7).
Conda users in general (all platforms) should follow the instructions from https://gitlab.windenergy.dtu.dk/toolbox/WindEnergyToolbox/-/blob/master/docs/install.md. Mixing pip/conda dependencies will often end up in broken environments at some point.
pip install wetb
"just works" on non-conda Linux based virtual environments.