~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/user-guide/writing_a_plugin.txt

MergeĀ lp:bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
Plugin searching rules
33
33
----------------------
34
34
 
35
 
Bzr will scan ``bzrlib/plugins`` and ``~/.bazaar/plugins`` for plugins
36
 
by default.  You can override this with ``BZR_PLUGIN_PATH``.  Plugins
37
 
may be either modules or packages.  If your plugin is a single file,
38
 
you can structure it as a module.  If it has multiple files, or if you
39
 
want to distribute it as a bzr branch, you should structure it as a
 
35
Bzr will scan ``~/.bazaar/plugins``  and ``bzrlib/plugins`` for plugins
 
36
by default.  You can override this with  ``BZR_PLUGIN_PATH``
 
37
(see `User Reference <../user-reference/bzr_man.html#bzr-plugin-path>`_
 
38
for details).
 
39
 
 
40
Plugins may be either modules or packages.  If your plugin is a single
 
41
file, you can structure it as a module.  If it has multiple files, or if
 
42
you want to distribute it as a bzr branch, you should structure it as a
40
43
package, i.e. a directory with an ``__init__.py`` file.
41
44
 
42
45
More information