Skip to content

Commit

Permalink
Clean up entry points provided by the Python package
Browse files Browse the repository at this point in the history
We remove the legacy development commands `local_reveal` and `compile`.
These commands have never worked correctly when the package is installed
from PyPI since the package never bundled the `tools/tools.py` file.

Instead, we add a command `kapitan` which exposes the Kapitan CLI as an
entrypoint for the syn-commodore package. This command will enable users
who install Commodore with `uv tool install` to use the bundled Kapitan
as if it was an installed tool.
simu committed Oct 28, 2024
1 parent 55c992d commit a36b1f1
Showing 3 changed files with 1 addition and 33 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -61,8 +61,7 @@ pytest-mock = "^3.8.2"

[tool.poetry.scripts]
commodore = 'commodore.cli:main'
local_reveal = 'tools.tools:reveal'
compile = 'tools.tools:compile'
kapitan = 'kapitan.cli:main'

[build-system]
requires = ["poetry>=0.12"]
12 changes: 0 additions & 12 deletions tools/reveal.sh

This file was deleted.

19 changes: 0 additions & 19 deletions tools/tools.py

This file was deleted.

0 comments on commit a36b1f1

Please # to comment.