You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 via Makie. Also, the (largeish) MKL is pulled lazily in via FFTW<-KernelDensity<-Makie.
I'm not including video playback features, so I thought it should be possible to not install FFMPEG. However, this is used in the Makie 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. :-/
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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