plugins and dist-packages

James Westby jw+debian at jameswestby.net
Tue Mar 3 18:35:38 GMT 2009


Hi,

Ubuntu Jaunty now has python 2.6 by default. On Ubuntu this also 
supports "dist-packages" which is parallel to "site-packages" and
is intended to keep distribution installed modules from overwriting
locally installed ones.

This has an effect on bzr's plugin system. If bzr is installed from
the package, and then a plugin is installed with "python setup.py 
install" then they will end up in different directories, and currently
bzr will not load it.

My proposal would be to extend bzr's plugin loading logic such that
if bzr finds itself in "dist-packages" it will load plugins from
"site-packages" and then "dist-packages" with the former taking 
precedence. This is at least how I would expect it to work.

You can read some more about this here:

  https://bugs.launchpad.net/bugs/332824

Thanks,

James





More information about the bazaar mailing list