Skip to content

Rethink extensions #20

@flying-sheep

Description

@flying-sheep

continued from this discussion.


hmm, many python plugin systems are done by placing stuff into a plugin subdirectory. (e.g. the flask.ext module for flask extensions)

plugins don’t run independently, so they do belong to their main project. and python packages can install submodules to some subdir. but apparently that’s a problem, so flask instead accepts plugins with names beginning with flask_, e.g. flask_admin, flask_assets, …

look how flask does it: flask/ext/__init__.py, ExtensionImporter

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions