I am not sure if there is anything in this, but take a look at https://packaging.python.org/en/latest/guides/
Also, I might suggest avoiding command line solutions. You can get the version from the python module On Mon, Sep 25, 2023, 11:55 PM Luca Delucchi via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > 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 last python GDAL version available in that system. > > Do you have any advice? > > > -- > ciao > Luca > > www.lucadelu.org > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev