Unable to use pure-python plugins from /usr/share/ ... (FHS) location

Bug #145612 reported by Mateusz Korniak on 2007-09-27
Affects Status Importance Assigned to Milestone
Vincent Ladeuil

Bug Description

Default install installs bzrlib under /usr/lib/pythonx.x
and pure-python plugins (bzrtools, bzr-gtk) under /usr/share/pythonx.x

which seems to be correct from FHS point of view but such installed plugins are unavailable.

Problem can be fixed by forcing /usr/lib/... path in plugins:

%{__python} setup.py install \
 --install-purelib /usr/lib/pythonx.x \
 --optimize=2 \

but would be much better to have /usr/share/ .. in paths where plugins are looked for.
It could be done during python setup.py phase ...


Related branches

Alexander Belchenko (bialix) wrote :

No, it's incorrect assumption about bzrlib plugins.
Look at env variable BZR_PLUGIN_PATH in docs.

Vincent Ladeuil (vila) on 2008-09-18
Changed in bzr:
status: New → Won't Fix
Vincent Ladeuil (vila) wrote :

See bug #412930 which fixes the issue by allowing:
Which ensures that bzr can load the site plugins from several directories if needed.

Changed in bzr:
assignee: nobody → Vincent Ladeuil (vila)
status: Won't Fix → Fix Committed
Vincent Ladeuil (vila) on 2009-09-04
Changed in bzr:
milestone: none → 2.1
status: Fix Committed → Fix Released
Vincent Ladeuil (vila) on 2009-09-17
Changed in bzr:
milestone: 2.1.0 → 2.1b1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers