The link_destination can be customized in the .condarc, but this is inconvenient for scripts.
It would be helpful if this could be set on the command line, either with a specific flag, or through an environmental variable.
For reference, pipx uses PIPX_BIN_DIR.
My use-case is to use condax to provision my system, so need to link the executables to /usr/local/bin/ rather than a home directory.
A quick hack would be something like this in config.py:
CONDAX_LINK_DESTINATION = path.expanduser(
os.environ.get(
'CONDAX_LINK_DESTINATION',
_config["link_destination"]))
The
link_destinationcan be customized in the.condarc, but this is inconvenient for scripts.It would be helpful if this could be set on the command line, either with a specific flag, or through an environmental variable.
For reference,
pipxusesPIPX_BIN_DIR.My use-case is to use
condaxto provision my system, so need to link the executables to/usr/local/bin/rather than a home directory.A quick hack would be something like this in
config.py: