I'd like to distribute a scie-based binary distrib...
# general
r
I'd like to distribute a scie-based binary distribution along with several wheel files (private), and let them work together. AFAIK, it is the only way to add an explicit dependency declaration for those private wheels together when building scies. Can I let the scie executable to "load" or "install" those wheels at runtime? (assuming that their required dependencies are already included in the scie/pex)
Maybe an alternative is to make two separate scie or pex builds, and let them share the same environment created upon first runs.
b
Just confirming that you don't want to include the wheels in the main scie/pex?
r
yes, i’d like them to be runtime-discovered
b
I'm not sure about scie, but for PEX, it's hermetic/self-contained by default, but there's a few ways to control that: • when building: https://docs.pex-tool.org/buildingpex.html#inherit-path exposed as https://www.pantsbuild.org/2.20/reference/targets/pex_binary#inherit_path in pants • when running: https://docs.pex-tool.org/api/vars.html#PEX_EXTRA_SYS_PATH
👀 1