我正在将现有的 pytest 插件打包为 conda-forge 配方。这是我第一次面对入口点,我不知道如何处理 pytest 入口点。
pyproject.toml
文件中的部分如下:
[project.entry-points."pytest11"]
copie = "pytest_copie.plugin"
在 conda-forge 配方的
meta.yaml
文件中应该如何翻译?
您无需添加任何内容,它会自然起作用。 看看 pytest-gee 食谱:https://github.com/conda-forge/pytest-gee-feedstock/blob/main/recipe/meta.yaml