On your base conda-installation, install via pip:
> cd /opt/tools/conda
> bin/pip install conda-xdgpatch
Just use conda to create conda-environments.
The conda_xdgpatch.patch
-function is registered as a sitecustomize
-entrypoint in our pyproject.toml_:
[tool.poetry.plugins]
[tool.poetry.plugins."sitecustomize"]
conda_xdgpatch = "conda_xdgpatch:patch"
Sitecustomize and all its registered entrypoints will be executed at the start of every python-process. For more information, please see sitecustomize-entrypoints
conda-xdgpatch
works on Python 3.8+, including PyPy3. Tested until Python 3.11,