stats plugin must be a prerequiste
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar GTK+ Frontends |
Triaged
|
Low
|
Unassigned |
Bug Description
When trying a manual build or bzr-gtk, bzrlib.
How to reproduce :
> cd ~/.bazaar/plugins
> bzr branch lp:bzr-gtk gtk
> cd btk
> python setup.py build
(my objective was maily to build the locale files)
Traceback :
Traceback (most recent call last):
File "setup.py", line 169, in <module>
'check': Check}
File "/usr/lib64/
dist.
File "/usr/lib64/
self.
File "/usr/lib64/
cmd_obj.run()
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
cmd_obj.run()
File "setup.py", line 54, in run
from bzrlib.
ImportError: No module named stats.cmds
Software versions :
Python 2.6.2
Bazaar 2.1.0
bzr-gtk r700
How to solve :
- add a try except or the prerequiste in the setup.py file
Workaround
- install first and build bzr-stats plugin
Changed in bzr-gtk: | |
status: | New → Triaged |
importance: | Undecided → Low |
the bzr-stats plugin is indeed a prerequisite if you want to install the plugin to the system at the moment (as opposed to running it from ~/.bazaar/plugins). We should probably document this a bit better, or allow installation without installing the stats.
What do you mean by adding a prerequisite to setup.py though? We don't use setuptools.