On Tuesday, April 26, 2022 at 4:07:00 PM UTC-7 François Bissey wrote:

> From what I can see on debian, they try to build for pretty much any 
> options they have available, and those runtime dependencies have to be 
> installed and be included in the dependency tree for that distribution’s 
> binary.
>

This is certainly true for shared libraries that are linked into 
executables.
But many packages allow for extra functionality either by the presence of 
plugins or just by calling some executables.
Such packages are declared as Recommended or Suggested packages and are 
usually discovered at runtime.

The same is also standard practice in the Python world. In modern Python 
packaging, there is no such thing as a build-time optional dependency. The 
build environment is fully specified in pyproject.toml. Additional 
functionality can be provided by "extras-require" declarations -- which are 
handled only at installation time (not build time) simply by installing 
additional packages. Python code discovers them at runtime.


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/557050f6-4750-4385-a73f-71814efdce1cn%40googlegroups.com.

Reply via email to