Re: [gdal-dev] GDAL version in pip requirements file

2023-09-28 Thread Luca Delucchi via gdal-dev
Il mar 26 set 2023, 09:07 Stefan Blumentrath ha scritto: > Hi Luca, > Hi Stefan, > > You could parse the gdal config version output into an environment > variable and then specify the version in requirements.txt like this: > GDAL==${GDAL_VERSION} > Thanks a lot it looks a good solution > > Ch

Re: [gdal-dev] GDAL version in pip requirements file

2023-09-28 Thread Luca Delucchi via gdal-dev
Hi Peter, Il mar 26 set 2023, 16:33 Peter Schmitt ha scritto: > I know you mention requirements.txt, but I write my setup.py with a > function that uses gdal-config to get Python bindings for the version of > GDAL I have installed. It looks something like this: > Thanks for your help but I'm l

[gdal-dev] GDAL version in pip requirements file

2023-09-25 Thread Luca Delucchi via gdal-dev
Hi everyone, I would like to know if it is possible to set GDAL version in the pip requirements file using gdal-config of the machine running the installation, I tried some different ways but I was not able to do it, also leaving GDAL without any specified version doesn't work because it takes the