02-13-2018, 09:16 PM | #1 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2018
Device: iPad
|
Setting up Calibre development environment
Hi,
I want to set up a development environment. (Archlinux, zsh) Code:
#!/bin/sh export CALIBRE_DEVELOP_FROM="/home/rias/calibre/src" calibre-debug -g Quote:
Spoiler:
I hope somebody can help. If you need further information, I will try to provide it. Thanks Last edited by EngelEatos; 02-13-2018 at 09:26 PM. |
|
02-13-2018, 09:36 PM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you want to use CALIBRE_DEVELOP_FROM you have to install the binary calibre install from https://calibre-ebook.com/download_linux not the arch calibre package.
|
Advert | |
|
02-13-2018, 09:46 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2018
Device: iPad
|
OMG. thank you so much. such a little change made it work
|
04-22-2018, 12:20 PM | #4 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
BTW if you're using the community package you could just use CALIBRE_PYTHON_PATH and CALIBRE_RESOURCES_PATH instead, see the contents of /usr/bin/calibre.
Also CALIBRE_EXTENSIONS_PATH if you're really interested in hacking the C extensions, but at that point I say just do like I do and install the calibre dependencies, but not calibre itself, and use `python2 setup.py develop` to install the source code. See https://github.com/kovidgoyal/calibr...master/INSTALL (Ironically I don't usually use the binary package I uploaded to [community]. ) Last edited by eschwartz; 04-22-2018 at 12:24 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting up a development environment ... | BWinmill | Kobo Developer's Corner | 27 | 06-16-2014 08:21 AM |
"Setting up a calibre development environment" documentation suggestion | trying | Development | 1 | 03-30-2014 10:25 PM |
calibre VMWare development environment | kovidgoyal | Calibre | 30 | 12-30-2009 12:43 PM |
Setting up Mac Calibre development environment? | pdurrant | Calibre | 2 | 01-06-2009 07:10 AM |
Setting up development environment | tompe | OpenInkpot | 9 | 08-27-2008 02:26 PM |