跳转到主要内容

为conda使用XDG位置提供补丁。

项目描述

Testing Read the Docs PyPi Package MIT License

安装

在你的基础conda安装上,通过pip安装

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

使用方法

只需使用conda创建conda环境。

注册sitecustomize入口点

在pyproject.toml_中,将conda_xdgpatch.patch函数注册为sitecustomize入口点

    [tool.poetry.plugins]
    [tool.poetry.plugins."sitecustomize"]
    conda_xdgpatch = "conda_xdgpatch:patch"

Sitecustomize及其所有已注册的入口点将在每个python进程的开始时执行。有关更多信息,请参阅sitecustomize入口点

兼容性

Python Version PyPI - Implementation

conda-xdgpatch在Python 3.8+上运行,包括PyPy3。已测试至Python 3.11

显著的依赖项

由以下支持