Skip to content

Plugins in directory mode #1317

Answered by brandonrobertz
mobab-th asked this question in Q&A
Discussion options

You must be logged in to vote

The plugins directory in directory mode only supports single-file plugins. If the plugin you're trying to install isn't a single file, you need to install your plugin using one of the normal methods: pip install (e.g., pip install datasette-media) or datasette install (e.g., datasette install datasette-media)

Try and think of the "plugins" in directory mode less as a full blown library or module, but as python scripts that happen to use one of Datasette's plugin hooks.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mobab-th
Comment options

Answer selected by mobab-th
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