[ANN] RelocatableFolders.jl

I’m pleased to announce the first release of RelocatableFolders.jl.

  • Who’s it for? Mostly should be of interest to package authors rather than users of packages.

  • What does it do? It’s a lightweight package that handles “embedding” files and folders inside of a package directory (such as fonts or template files that aren’t worth the effort of bundling into an artifact) into pre-compiled Julia packages.

  • Why would you need it? If you’ve ever worked with PackageCompiler.jl you’ve probably come across the “relocatablility” issue. By embedding the contents of the required files into the pre-compiled code you don’t then have to depend on whether they are still available at runtime or not. The package README has some further details.

11 Likes