eccodes-python
eccodes-python copied to clipboard
Build a wheel binary distribution that includes ecCodes
At the moment ecCodes must be installed on the system for eccodes-python to work.
Following thew strategy of https://github.com/mapbox/rasterio it would e possible to package the whole ecCodes library and data files in the multilinux wheel binary package.
Pro:
- no need to have two install steps, only
pip install eccodes-python
- no need to install ecCodes as root
Con:
- huge binary wheel package
- possible conflicts with other Python packages that link to ecCodes (quite remote)
The infrastructure used by rasterio is here: https://github.com/sgillies/frs-wheel-builds
Was: ecmwf/cfgrib#22
It would be good if cfgrib
just uses eccodes-python
. For now, python -m cfgrib selfcheck
still fails with eccodes-python
. Thanks.
@alexamici I can see that cfgrib is on conda-forge and uses the ecCodes package from there.
Does that mean this issue is resolved? conda install -c conda-forge cfgrib
gives the one-line install step you want and manages deps for you.
@datarods-svc migrating cfgrib on eccodes-python is tracked here: https://github.com/ecmwf/cfgrib/issues/95 the main blocker is the conda package with eccodes-python
@dtip [note that I updated the issue description with eccodes-python not cfgrib] the issue is now much lower priority thanks to the conda packages, but that it would still be nice to have a multilinux wheel for users who are not on conda.
I see - thanks for clarifying