Skip to content

Click, CLI Commands, and entry_points #6379

Answered by Zharktas
gg2 asked this question in Q&A
Discussion options

You must be logged in to vote

The syntax is in .ini-style https://setuptools.readthedocs.io/en/latest/pkg_resources.html#creating-and-parsing If data is a string or sequence of lines, it is first split into .ini-style sections (using the split_sections() utility function) and the section names are used as group names.

Click commands implemented with IClick interface do not require entry in entry_points anymore as they are executed through the new ckan command instead of paster which required that you tell paster about them via entry_points.

You can just remove whole entry if you want to support only CKAN 2.9.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gg2
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants