Skip to content

Commit

Permalink
Fix entrypoint definition in pyproject.toml (#5158)
Browse files Browse the repository at this point in the history
* Fix entrypoint definition in pyproject.toml to match recipe/meta.yaml
* Remove conda-index entrypoint

---------

Signed-off-by: Marcel Bargull <[email protected]>
Co-authored-by: Ken Odegard <[email protected]>
  • Loading branch information
mbargull and kenodegard authored Jan 30, 2024
1 parent 3cba0b9 commit 0435053
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
17 changes: 8 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0435053

Please sign in to comment.