Optional package dependencies? #2683
bilderbuchi
started this conversation in
General
Replies: 3 comments 3 replies
-
Hi, I'm having the same problem and I need to reduce the package size. Have you figured out a workaround for this? |
Beta Was this translation helpful? Give feedback.
3 replies
-
I wish we had tools for that in PackageCompiler... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Re weakdeps: would be great to utilize them, see #3953 and #4277. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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