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.
  • Loading branch information
simu committed Oct 28, 2024
1 parent 55c992d commit 6912547
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
19 changes: 0 additions & 19 deletions tools/tools.py

This file was deleted.

0 comments on commit 6912547

Please sign in to comment.