Unable to use pure-python plugins from /usr/share/ ... (FHS) location
Bug #145612 reported by
Mateusz Korniak
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Vincent Ladeuil |
Bug Description
Default install installs bzrlib under /usr/lib/pythonx.x
and pure-python plugins (bzrtools, bzr-gtk) under /usr/share/
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 ...
TIA
Related branches
lp://staging/~bzr/bzr/412930-plugin-path
- John A Meinel: Approve
- Diff: 535 lines
lp://staging/~vila/bzr/integration
- Vincent Ladeuil: Approve
-
Diff: 31 lines (+4/-4)2 files modifiedbzrlib/lazy_regex.py (+3/-3)
doc/en/release-notes/bzr-2.7.txt (+1/-1)
Changed in bzr: | |
status: | New → Won't Fix |
Changed in bzr: | |
milestone: | none → 2.1 |
status: | Fix Committed → Fix Released |
Changed in bzr: | |
milestone: | 2.1.0 → 2.1b1 |
To post a comment you must log in.
No, it's incorrect assumption about bzrlib plugins.
Look at env variable BZR_PLUGIN_PATH in docs.