There’s also the option of using the “extra dependencies” functionality for Python packages, which is often used for including, well, extra features!
https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html#optional-dependencies Again, it’s not entirely the intended use case – the normal use is for real dependencies that enable/improve functionality of the base package – but perhaps a bit more palatable. (I do wonder if worrying about how to tie it to the GDAL PyPI package is really a major point for many users, given the difficulty of installing and compiling it compared to the pre-compiled packages from other sources. Will those changes affect those distributions, too?) Dr Daniel Evans Software Developer e: daniel.ev...@jbarisk.com t: +44 (0)1756 799919 www.jbarisk.com All JBA Risk Management's email messages contain confidential information and are intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. JBA Risk Management Limited is registered in England, company number 07732946, 1 Broughton Park, Old Lane North, Broughton, Skipton, North Yorkshire, BD23 3FD, England. From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> On Behalf Of Idan Miara Sent: 25 March 2021 16:32 To: Alan Snow <alansno...@gmail.com> Cc: gdal dev <gdal-dev@lists.osgeo.org> Subject: Re: [gdal-dev] Motion: RFC 78: gdal-utils package Hi Alan, pip install gdal-utils Will install also gdal as it is its dependency. In case we will take the utils out of the gdal sdist - Even tough your suggestion to add gdal-utils as a dependency to gdal would make `pip install gdal` to also install both, it makes less sense to me as gdal does not actually depend on gdal-utils and it might complicate things in other ways. In that case, IMHO telling people who want to install the utils to pip install gdal-utils makes more sense... Idan On Thu, 25 Mar 2021, 16:50 Alan Snow, <alansno...@gmail.com<mailto:alansno...@gmail.com>> wrote: > Removing the utils from the gdal sdist/wheel means that people who install > gdal won't have the utils unless they installed the utils wheel. You mentioned that gdal_utils is now on pypi. Are you able to set it as a dependency in the setup.py so it is installed when the main osgeo/gdal python package is installed? Best, Alan _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org<mailto: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