[gdal-dev] Best Practices For Using GDAL As a Dependency In a Python Package?
Adriano Matos
adrianom at unr.edu
Mon Mar 31 17:33:25 PDT 2025
Hello,
I've been writing a Python package that uses GDAL as a dependency. I plan to make this package available to install via Anaconda at least. Having a pip package would be nice, but I keep getting GDAL errors whenever I try to compile a pip package. I think it has something to do with the system-dependent compilers that GDAL uses. I was able to successfully create an Anaconda package, but as of now it is only available to install via Windows. I wanted to make this package system-agnostic, but it defaulted to my system's OS of Windows when I created the package due to the use of GDAL as a dependency. I was considering creating an Anaconda package in a Linux environment (maybe using a virtual machine) and then a Mac environment so that I can have this package available on all operating systems. I was curious to see if anyone knows more about this topic. Am I approaching this problem the right way? Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250401/a6ae675e/attachment.htm>
More information about the gdal-dev
mailing list