03-26-2011, 04:38 AM | #1 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Improvements to Windows installation process
I updated to 0.7.51 yesterday and 0.7.52 today and just wanted to say that zipping up the Python code really seems to have worked. The installer is now running through the verification almost instantly.
Thanks for that particular improvement, and kudos to whomever thought of it |
03-26-2011, 10:28 AM | #2 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You're welcome I actually expected that to have a big impact for a while. I was reluctant to do it because it makes it a little harder to patch a calibre install, which was a facility used by some calibre developers to have users test small changes. However, I realized that thanks to windows exposing zip files as folders, it isn't that much harder. ANd it has the added benfit that any patches get automatically removed at the next upgrade, unlike with using them in unzipped form.
The only downside is that it is now not possible to install calibre in a folder with non ascii characters in its path. |
Advert | |
|
03-26-2011, 05:01 PM | #3 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
This is purely a gut feeling, I didn't verify this (I'd have to downgrade in order to do that), but is it possible that this change also resulted in startup being a lot faster than pre-0.7.51?
|
03-26-2011, 05:13 PM | #4 |
Grand Sorcerer
Posts: 11,738
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
With my 1500 book production library, with the zip change, the startup time went from 1.2 seconds to .9 seconds (measured several times).
|
03-26-2011, 05:39 PM | #5 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes importing from a zip file is faster than from the filesystem, as long as the zip file does not use compression. I verified this before making the change.
|
Advert | |
|
03-26-2011, 05:46 PM | #6 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Great stuff.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Manual installation of eBook Library (Windows 2003, Vista64 etc) and Digital Editions | igorsk | Sony Reader | 39 | 02-13-2011 07:40 PM |
PRS-300 Installation Interrupted on Windows XP 32-bit | Chrill | Sony Reader | 3 | 08-17-2010 10:07 PM |
0.6.45 Windows installation failure | bellyqueen | Calibre | 1 | 03-16-2010 10:32 AM |
Windows 7 Installation Problem | pghmark | Calibre | 12 | 04-23-2009 03:08 PM |
4.130 Windows Installation | ddavtian | Calibre | 2 | 01-23-2009 07:19 PM |