mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.68k stars 346 forks source link

Feature request: a standalone tool, unpack a .conda package of an env dir on the fly, then exec a extracted bin/binary #3241

Closed gzm55 closed 4 months ago

gzm55 commented 5 months ago

Troubleshooting docs

Anaconda default channels

How did you install Mamba?

Micromamba

Search tried in issue tracker

decompress, extract, exec

Latest version of Mamba

Tried in Conda?

I have this problem with Conda as well, without using Mamba

Describe your issue

Can we provide a new standalone tool, which can be distributed with a .cond package generated by mamba package compress env-prefix-dir .... When executed, the new tool extracts the .cond env package for the first time into the current dir, then find the extracted ./bin/python, at last, execs and leaves the control to needed executable, e.g., ./bin/python

mamba info / micromamba info

No response

Logs

No response

environment.yml

No response

~/.condarc

No response