mirror of
https://github.com/beetbox/beets.git
synced 2026-02-03 14:01:49 +01:00
Clarify docs for writing plugins
If the beetsplug directory itself is added to the python path then python does not see the plugin as part of the beetsplug namespace.
This commit is contained in:
parent
11ad35dcf0
commit
fcb73ad095
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,8 @@ found therein. Here's a skeleton of a plugin file::
|
|||
Once you have your ``BeetsPlugin`` subclass, there's a variety of things your
|
||||
plugin can do. (Read on!)
|
||||
|
||||
To use your new plugin, make sure your ``beetsplug`` directory is in the Python
|
||||
To use your new plugin, make sure the directory that contains your
|
||||
``beetsplug`` directory is in the Python
|
||||
path (using ``PYTHONPATH`` or by installing in a `virtualenv`_, for example).
|
||||
Then, as described above, edit your ``config.yaml`` to include
|
||||
``plugins: myawesomeplugin`` (substituting the name of the Python module
|
||||
|
|
|
|||
Loading…
Reference in a new issue