Optional package dependencies? #2683
bilderbuchi
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is using optional dependencies feasible for Makie, e.g. using the new extensions feature or
targets
in Project.toml?I'm curious, because I'm currently prototyping a GUI application using Makie (and Gtk) that I need to PackageCompile.
During playing around with that process, I noticed that the result is huge (another story I guess). I noticed that I'm pulling in an
FFMPEG
dependency viaMakie
. Also, the (largeish) MKL is pulled lazily in viaFFTW
<-KernelDensity
<-Makie
.I'm not including video playback features, so I thought it should be possible to not install FFMPEG. However, this is
use
d in theMakie
module, which is of course centrally used everywhere.Similar with the MKL - it would be great to avoid that if I'm not using violin or density plots.
I'm not asking for this to be implemented, because it's probably a lot of work, and at this point (a 1.25 GB packagecompiler result for HDF5+GLMakie+Gtk4+GtkMakie is not encouraging) I'm not even sure if I won't be going back to Python/pyinstaller to attempt this - it might be too early for Julia for this kind of usecase. :-/
Beta Was this translation helpful? Give feedback.
All reactions