I'm guessing that the following failure is a bug in the build code since I can build calibre just fine (I just can't clean it):
Code:
python setup.py develop --clean-all
Cleaning pot
Cleaning translations
Cleaning get_translations
Cleaning iso639
Cleaning build
Cleaning build_pdf2xml
Cleaning gui
Traceback (most recent call last):
File "setup.py", line 99, in <module>
sys.exit(main())
File "setup.py", line 82, in main
getattr(commands, cmd).clean()
File "/home/wayne/src/calibre/setup/gui.py", line 63, in clean
forms = self.find_forms()
File "/home/wayne/src/calibre/setup/gui.py", line 20, in find_forms
from calibre.gui2 import find_forms
File "/home/wayne/src/calibre/src/calibre/gui2/__init__.py", line 19, in <module>
from calibre.ebooks.metadata.meta import get_metadata, metadata_from_formats
File "/home/wayne/src/calibre/src/calibre/ebooks/metadata/meta.py", line 11, in <module>
from calibre.customize.ui import get_file_type_metadata, set_file_type_metadata
File "/home/wayne/src/calibre/src/calibre/customize/ui.py", line 14, in <module>
from calibre.customize.builtins import plugins as builtin_plugins
File "/home/wayne/src/calibre/src/calibre/customize/builtins.py", line 434, in <module>
from calibre.ebooks.rtf.output import RTFOutput
File "/home/wayne/src/calibre/src/calibre/ebooks/rtf/output.py", line 9, in <module>
from calibre.ebooks.rtf.rtfml import RTFMLizer
File "/home/wayne/src/calibre/src/calibre/ebooks/rtf/rtfml.py", line 22, in <module>
from calibre.utils.magick.draw import save_cover_data_to, identify_data
File "/home/wayne/src/calibre/src/calibre/utils/magick/__init__.py", line 15, in <module>
raise RuntimeError('Failed to load ImageMagick: '+_merr)
RuntimeError: Failed to load ImageMagick: No module named magick
I would have created a trac ticket, but calibre's trac is broken at the moment.