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
@ncoghlan thanks for the clarification, but that still leaves me wondering why conda-pack has anything to do, if all the packages inside the environment are all already individually relocatable? It sounds like you're implying I should be able to move conda build artifacts around without them breaking due to path assumptions, and a conda environment is a bunch of conda build artifacts, so I'm curious where the pathing assumptions get baked in?
Most of what conda-pack does is simply making the archive itself. The work that conda-unpack does is mainly fixing shebang lines.
There is also some special case handling for various conda metadata files.
It's certainly possible to write your own code to do the same things that conda-pack does, and most things will still work correctly if you simply tar or zip the entire directory with no customisation of the input. conda-pack just tidies up the rough edges that arise when using a more simplistic approach.
The clearest documentation of exactly what those rough edges are is the conda-pack source code.
Checklist
What happened?
I would like to better understand what
conda-pack
does. My understanding is thatconda build
already makes binaries relocatable by patching RPATH and other measures. If this is the case, what extra work is pack/unpack doing? Why can'tconda build
do it?Additional Context
No response
The text was updated successfully, but these errors were encountered: