![]() |
#1 |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
![]()
Please i would like to know more about how to begin modifying the Calibre web interface so i can built my own instant, i need to know the .py that i need begin modifying and all the details for a good programming. thanks a lot
|
![]() |
![]() |
![]() |
#2 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Read http://manual.calibre-ebook.com/develop.html for setting up a development environment for calibre
This http://doc.bazaar.canonical.com/latest/en/user-guide/ might also be helpful for you. Read http://diveintopython.org/ for learning about python. For the web interface calibre uses cherrypy. You will find the necessary files in src/routes. However, you can connect to calibre directly using another language for the web interface. Search for the PHP interface by CHaley. |
![]() |
![]() |
![]() |
#3 |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
Great
![]() |
![]() |
![]() |
![]() |
#4 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
|
![]() |
![]() |
![]() |
#5 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Quote:
So, I'm just wondering if anyone has made a good ePub of this book? Perhaps I should just buy a real paper version of the book! P.S. Which version of Python does calibre use? Last edited by Agama; 07-16-2011 at 03:46 PM. Reason: Added P.S. |
|
![]() |
![]() |
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,145
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#7 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Do I need to install Python 2.7 from the python.org site or is this already installed as part of calibre? I have read the calibre manual section on setting up a development environment and can see that I need to use Bazaar to get the calibre source code, but this does not mention Python.
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,145
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Simply follow the instructions in the manual, you don't need to do anything not mentioned there, including installing python.
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,315
Karma: 7957679
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
However, your development environment might require a local installation of python to give meaningful error messages. I know that eclipse+pydev does, and I strongly suspect that aptana does. |
|
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,029
Karma: 11196738
Join Date: Oct 2010
Location: Where am I?
Device: Kindle Paperwhite Signature edition and a Samsung S24 Ultra
|
Perhaps you know this already, in which case please disregard my comments. In order for software to be called Open Source it needs to come with the source code for free. Anyone who is so inclined can modify the code and put their own name on the result and call it their own as long as the result is also open code. I do not believe that Calibre is open source since it does not come with the source code free, its what would be referred to as freeware, which does not come with the source code but the end result is free.
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,315
Karma: 7957679
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Calibre source code is most certainly free and changeable by anyone. See http://manual.calibre-ebook.com/develop.html.
|
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,145
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre is open source (licensed under GNU GPLv3) and you have access to its source code. That access is what makes it possible to setup a development environment for it in the first place.
|
![]() |
![]() |
![]() |
#13 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,888
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
The whole point of this thread is assisting a person who is setting up the development environment so they can run from source and test their own patches to the source code. Please avoid creating false rumors.
Last edited by DoctorOhh; 07-17-2011 at 09:54 AM. |
![]() |
![]() |
![]() |
#14 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
I've got as far as the Bazaar site and was about to download the Standalone version but noticed that it has Python 2.6 bundled. However, calibre requires 2.7 - so should I download the Python-based Bazaar installer? (which then requires me to install all dependencies myself - whatever that means!)
|
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,315
Karma: 7957679
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Yes, it has its own copy of python, and yes, calibre has its own copy, and yes, you will likely install python. However, it is worth it (to me) to burn some disk space to get ease of update -- each of the tools can be updated without affecting the other. In addition, getting standalone installers deals with prerequisites. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
IQ Is the IQ open source? | alexish | PocketBook | 1 | 01-30-2011 07:22 PM |
Open Source? | cipri | PocketBook | 6 | 11-10-2010 04:04 PM |
Open source | bradrice | Kindle Formats | 2 | 12-21-2009 09:30 AM |
Open source lrs2lrf | kovidgoyal | LRF | 14 | 07-25-2008 09:17 PM |
TrueCrypt V2.0 Open-Source | Alexander Turcic | Lounge | 1 | 06-21-2004 02:02 PM |