<div dir="auto">I am not sure if there is anything in this, but take a look at <a href="https://packaging.python.org/en/latest/guides/">https://packaging.python.org/en/latest/guides/</a><div dir="auto"><br></div><div dir="auto">Also, I might suggest avoiding command line solutions. You can get the version from the python module</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 25, 2023, 11:55 PM Luca Delucchi via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
I would like to know if it is possible to set GDAL version in the pip<br>
requirements file using gdal-config of the machine running the<br>
installation, I tried some different ways but I was not able to do it,<br>
also leaving GDAL without any specified version doesn't work because<br>
it takes the last python GDAL version available in that system.<br>
<br>
Do you have any advice?<br>
<br>
<br>
-- <br>
ciao<br>
Luca<br>
<br>
<a href="http://www.lucadelu.org" rel="noreferrer noreferrer" target="_blank">www.lucadelu.org</a><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank" rel="noreferrer">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>