ecmwf / eccodes-python

Python interface to the ecCodes GRIB/BUFR decoder/encoder
Apache License 2.0
114 stars 32 forks source link

Build a wheel binary distribution that includes ecCodes #1

Open alexamici opened 5 years ago

alexamici commented 5 years ago

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:

Con:

The infrastructure used by rasterio is here: https://github.com/sgillies/frs-wheel-builds

Was: ecmwf/cfgrib#22

datarods-svc commented 5 years ago

It would be good if cfgrib just uses eccodes-python. For now, python -m cfgrib selfcheckstill fails with eccodes-python. Thanks.

dtip commented 4 years ago

@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.

alexamici commented 4 years ago

@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.

dtip commented 4 years ago

I see - thanks for clarifying