Simplify Packaged Kedro Project entrypoint __main__.py, move _find_run_command
to Framework
#3051
Labels
Issue: Feature Request
New feature or improvement to existing feature
Milestone
Description
kedro new
ship a__main__.py
which is the default way to run a packaged Kedro Project withpython -m <project>
. Currently we expose a function that loads the run command in the project. This should be move to the framework.https://github.com/kedro-org/kedro-starters/blob/87715c48977bdfe1c64dd1d924a9f3e6c0933951/pandas-iris/%7B%7B%20cookiecutter.repo_name%20%7D%7D/src/%7B%7B%20cookiecutter.python_package%20%7D%7D/__main__.py#L11-L36
Context
This make upgrading Kedro Project is hard because we leave code in user project.
Possible Implementation
Possible Alternatives
The text was updated successfully, but these errors were encountered: