I've been trying to follow the instructions at:
http://calibre-ebook.com/user_manual/develop.html
But I cannot get the "Hello world!" sample to print out after running calibredb.
It just shows calibredb help message.
I've tried both in Linux and Windows, installed the calibre binary, download the source code with bzr, set the "CALIBRE_DEVELOP_FROM" variable to point to the "src" directory and modify the "src/calibre/__init__.py" with the print statement.
Code:
vmplanet@kubuntu:~/calibre/src/calibre$ echo $CALIBRE_DEVELOP_FROM
/home/vmplanet/calibre/src
Code:
vmplanet@kubuntu:~/calibre/src/calibre$ calibredb
Uso: calibredb orden [opciones] [argumentos]
calibredb es la interfaz de línea de órdenes para la base de datos de libros de calibre.
orden es una de:
.....
Code:
vmplanet@kubuntu-vm:~/calibre/src/calibre$ grep -n Hello __init__.py
24:print 'Hello world!'
Instructions look quite easy but I can't reproduce