Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build wheels and upload to pypi #1174

Closed
ngoldbaum opened this issue Nov 7, 2018 · 3 comments
Closed

Build wheels and upload to pypi #1174

ngoldbaum opened this issue Nov 7, 2018 · 3 comments
Milestone

Comments

@ngoldbaum
Copy link

Currently installing cartopy via pip is somewhat painful, e.g. #1035. This could be ameliorated if cartopy had wheels uploaded on pypi for stable releases.

I think adding the pyproject.toml file will separately mitigate #1035, however uploading wheels will allow many more users, who do not necessarily have compilers set up on their machine, to use cartopy without having to setup a build environment.

I've been pretty happy using https://github.com/matthew-brett/multibuild/ to automate building wheels for yt. I'd be happy to give advice about getting that setup for cartopy.

Note that this came up in the context of us adding catopy as an optional dependency of yt, see yt-project/yt#1966.

@dopplershift
Copy link
Contributor

We'd love to. The problem is that CartoPy depends on Shapely, which links to GEOS, and CartoPy directly links to GEOS. (See #805) If the CartoPy wheels and the Shapely wheels are not linked to the same binary compatible version of GEOS, BOOM. (This is not a problem for conda/conda-forge.)

Until this is resolved somehow, providing brittle wheels seems worse than providing none at all.

@barronh
Copy link

barronh commented Nov 19, 2020

I am curious if there is a way. Shapely Wheels are created using a docker script. Could a docker build have the same docker build as a prerequisite?

@greglucas
Copy link
Contributor

wheels are now built and uploaded to PyPI as of v0.22

@QuLogic QuLogic added this to the 0.22 milestone Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants