-
-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
Currently Dash.jl (and the related component packages) hardcode paths to resources into globals, see https://github.com/plotly/Dash.jl/blob/dev/src/Dash.jl#L5-L6 for example. This means that the package cannot be used along with https://github.com/JuliaLang/PackageCompiler.jl since that paths are not "relocatable" (https://julialang.github.io/PackageCompiler.jl/dev/devdocs/relocatable_part_3/#Relocatability-of-Julia-packages-1).
The two standard approaches to solving this issue are to either:
- store the actual content of the files located in the resource folders directly into the module's globals, rather than just the paths to those resources, or
- make use of the
Artifactssystem (https://pkgdocs.julialang.org/dev/artifacts/) to provide the resources inPackageCompiler-friendly paths.
BeastyBlacksmith
Metadata
Metadata
Assignees
Labels
No labels