Hi all, I'm wondering how difficult it would be to build the windows wheels with the windows builder on the github CI <https://github.com/OSGeo/gdal/blob/master/.github/workflows/windows_build.yml>, . I imagine we would need to install all the supported python versions to build all the pyd files. We might want to build a win32 version if anyone still cares about those.
Does someone have a different idea ? maybe a standalone builder script? but then someone would need to run it manually I guess. Idan On Tue, 23 Feb 2021 at 16:13, Idan Miara <i...@miara.com> wrote: > Hi Rob, > > Good point. > I don't know - I've added Christoph to this thread. > Christoph - can you share with us any build scripts or source file changes > you make in order to build these wheels? > > I was able to combine the cp37+cp38+cp39 from Christoph's wheels for each > platform by extracting the wheel files and repacking them in a single wheel > per platform using a custom setup.py+setup.cfg > The pyd files are very small so the overhead in wheel size is negligible. > https://github.com/talos-gis/gdal-win > Running build_all.bat creates: > gdal-3.2.1-py37.py38.py39-none-win_amd64.whl > gdal-3.2.1-py37.py38.py39-none-win32.whl > (Note that this batch does not build the sources, just repacks the wheels) > > Idan. > > > On Tue, 23 Feb 2021 at 16:02, Robert Coup <robert.c...@koordinates.com> > wrote: > >> Hi Idan, >> >> On Wed, 17 Feb 2021 at 12:24, Idan Miara <i...@miara.com> wrote: >> >>> From what I can see, the gdal302.dll inside >>> https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal doesn't depend on any >>> non-windows DLL. All its dependencies are statically linked. >>> >>> Maybe until a better solution is found, and to remedy all the windows >>> users who just want to `pip install gdal`, >>> We could push Christoph Gohlke's wheels to pypi ? >>> >> >> Do you know if the build scripts for Christoph Gohlke's GDAL/related >> builds are available? I don't think we could push any binaries on behalf of >> GDAL unless people can reproduce or adapt them. >> >> Rob :) >> >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev