Index: pluginconf.py ================================================================== --- pluginconf.py +++ pluginconf.py @@ -2,11 +2,11 @@ # api: python # type: handler # category: io # title: Plugin configuration # description: Read meta data, pyz/package contents, module locating -# version: 0.6.2 +# version: 0.6.5 # priority: core # docs: http://fossil.include-once.org/streamtuner2/wiki/plugin+meta+data # config: - # # Provides plugin lookup and meta data extraction utility functions. @@ -53,14 +53,15 @@ # argparse_map() # ‾‾‾‾‾‾‾‾‾‾‾‾‾‾ # Converts a list of config: options with arg: attribute for use as # argparser parameters. # -# dependency().valid/depends() -# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ +# dependency().depends()/.valid() +# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ # Probes a new plugins` depends: list against installed base modules. -# Very crude and tied to streamtuner2 base names. +# Utilizes each version: fields and allows for virtual modules, or +# alternatives and honors alias: names. # # # Generally this scheme concerns itself more with plugin basenames. # That is: module scripts in a package like `ext.plg1` and `ext.plg2`. # It can be initialized by injecting the plugin-package basename into @@ -70,11 +71,11 @@ # And a central module can be extended with new lookup locations best # by attaching new locations itself via module.__path__ + ["./local"] # for example. # # Plugin loading thus becomes as simple as __import__("ext.local"). -# The attachaed plugin_state config dictionary in most cases can just +# The attached plugin_state config dictionary in most cases can just # list module basenames, if there's only one set to manage. import sys import os