Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advertising Natlink packages or grammars #150

Open
dougransom opened this issue Nov 28, 2022 · 0 comments
Open

Advertising Natlink packages or grammars #150

dougransom opened this issue Nov 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dougransom
Copy link
Member

I have been thinking that natlink packages could optionally:

using importlib.metadata, the config program could find them with

eps.select(group='natlink_extensions')

The user could fire up the config program, select the ones they want enabled, and they would be enumerated in natlink.ini in directories.

Candidates would be:

  • dragonfly
  • unimacro
  • vocola
  • each individual unimacro grammar currently published in unimacro/unimacrogrammars (each would have its own python package though they all would be installed with unimacro as dependencies).
  • dragonfly packages folks have published to pypi or installable as packages with a pip install -e ..

For unimacro in particular this has an advantage that the end-user doesn't have to go rename .txt files to python files.

This change would be entirely backward compatible and optional. So if you don't want natlink config to be able to add/remove your grammar with the user interface, you would not advertise the entry point.

@dougransom dougransom added the enhancement New feature or request label Nov 28, 2022
@dougransom dougransom changed the title Advertising Natlink packages Advertising Natlink packages or grammars Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant