如何在 conda-forge 配方中设置 pytest 插件的入口点?

问题描述 投票:0回答:1

我正在将现有的 pytest 插件打包为 conda-forge 配方。这是我第一次面对入口点,我不知道如何处理 pytest 入口点。

pyproject.toml
文件中的部分如下:

[project.entry-points."pytest11"]
copie = "pytest_copie.plugin"

在 conda-forge 配方的

meta.yaml
文件中应该如何翻译?

recipe conda-forge
1个回答
0
投票

您无需添加任何内容,它会自然起作用。 看看 pytest-gee 食谱:https://github.com/conda-forge/pytest-gee-feedstock/blob/main/recipe/meta.yaml

© www.soinside.com 2019 - 2024. All rights reserved.