From 0435053f61f8452b4d3e7709e04c68821a96dd49 Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Tue, 30 Jan 2024 17:40:30 +0100 Subject: [PATCH] Fix entrypoint definition in pyproject.toml (#5158) * Fix entrypoint definition in pyproject.toml to match recipe/meta.yaml * Remove conda-index entrypoint --------- Signed-off-by: Marcel Bargull Co-authored-by: Ken Odegard --- pyproject.toml | 17 ++++++++--------- recipe/meta.yaml | 1 - 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5fc2f3eac5..72f657031e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,15 +55,14 @@ repository = "https://github.com/conda/conda-build" changelog = "https://github.com/conda/conda-build/blob/main/CHANGELOG.md" [project.scripts] -conda-build = "conda_build.cli.main_build:main" -conda-convert = "conda_build.cli.main_convert:main" -conda-develop = "conda_build.cli.main_develop:main" -conda-index = "conda_build.cli.main_index:main" -conda-inspect = "conda_build.cli.main_inspect:main" -conda-metapackage = "conda_build.cli.main_metapackage:main" -conda-render = "conda_build.cli.main_render:main" -conda-skeleton = "conda_build.cli.main_skeleton:main" -conda-debug = "conda_build.cli.main_debug:main" +conda-build = "conda_build.cli.main_build:execute" +conda-convert = "conda_build.cli.main_convert:execute" +conda-develop = "conda_build.cli.main_develop:execute" +conda-inspect = "conda_build.cli.main_inspect:execute" +conda-metapackage = "conda_build.cli.main_metapackage:execute" +conda-render = "conda_build.cli.main_render:execute" +conda-skeleton = "conda_build.cli.main_skeleton:execute" +conda-debug = "conda_build.cli.main_debug:execute" [project.entry-points."distutils.commands"] bdist_conda = "conda_build.bdist_conda:bdist_conda" diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 77a8034891..fb5088e15e 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -13,7 +13,6 @@ build: - conda-convert = conda_build.cli.main_convert:execute - conda-debug = conda_build.cli.main_debug:execute - conda-develop = conda_build.cli.main_develop:execute - - conda-index = conda_build.cli.main_index:main - conda-inspect = conda_build.cli.main_inspect:execute - conda-metapackage = conda_build.cli.main_metapackage:execute - conda-render = conda_build.cli.main_render:execute