Skip to content

Patch make conda more XDG-compliant

License

Notifications You must be signed in to change notification settings

libranet/conda-xdgpatch

Repository files navigation

Testing Read the Docs PyPi Package MIT License

Installation

On your base conda-installation, install via pip:

> cd /opt/tools/conda
> bin/pip install conda-xdgpatch

Usage

Just use conda to create conda-environments.

Registered sitecustomize-entrypoint

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

Compatibility

Python Version PyPI - Implementation

conda-xdgpatch works on Python 3.8+, including PyPy3. Tested until Python 3.11,

Notable dependencies