![]() |
#1 |
Member
![]() Posts: 18
Karma: 10
Join Date: Oct 2020
Device: kindle
|
./setup.py bootstrap has been successfully passed
./setup.py bootstrap has been successfully passed, how to get python-lib.bypy.frozen.
All done! You should now be able to run "/usr/bin/python setup.py install" to install calibre * bootstrap took 0.0 seconds root@debian:/home/k/calibre# |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
bootstrapping only prepares the source tree. if you want to actually build a calibre binary tarball follow the instructions in bypy/README.rst
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Member
![]() Posts: 18
Karma: 10
Join Date: Oct 2020
Device: kindle
|
Quote:
It is VirtualBox running debian on the win platform host. Just to modify a backend.py. It is not worth it to build such a complicated environment. Looking forward to returning to the way before version 5.1 |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you just want to alter some python code, all you need to do is set one environment variable, nothing else. https://manual.calibre-ebook.com/develop.html
|
![]() |
![]() |
![]() |
#5 | |
Member
![]() Posts: 18
Karma: 10
Join Date: Oct 2020
Device: kindle
|
Quote:
Also read it several times. I didn't understand it. Not familiar with python compilation. Only c#. python -O -m py_compile backend.py is simple. Stay in the 5.1 version. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Whats there to understand? And you dont need to compile anything. Download calibre source code, set environment variable to point to it. Make your changes in that source code. Profit.
|
![]() |
![]() |
![]() |
#7 | |
Member
![]() Posts: 18
Karma: 10
Join Date: Oct 2020
Device: kindle
|
Quote:
If want to get python-lib.bypy.frozen, how to do it. Can be more specific. step by step. thank you very much. |
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Go to the link https://manual.calibre-ebook.com/develop.html
Read the section named "Getting the code". Follow the step by step instructions there. Then go to the section named "Setting up awindows developmemnt environment" and follow the step by step instructions there. And forget about bypy.frozen, thats not for you to modify. |
![]() |
![]() |
![]() |
#9 | |
Member
![]() Posts: 18
Karma: 10
Join Date: Oct 2020
Device: kindle
|
Quote:
After python3, unicode has been supported, and the three platforms of mac ,linux, win have no problem with unicode support. Can add the function of not converting the file name in the optional library to English? |
|
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, and that lets you do just that, override the python inside bypy.frozen
And no, the limitation to ascii characters had nothing to do with python 2, it's not going to change with python 3. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recommend an ePub3 using Bootstrap? | SigilBear | ePub | 23 | 02-16-2019 01:19 PM |
Using Bootstrap with Epubs | SigilBear | ePub | 5 | 02-06-2017 08:59 PM |
Calibre Content Server - Bootstrap Theme | sudiphed | Development | 3 | 08-16-2016 10:45 PM |
Seriously thoughtful They all passed ..... | GeoffC | Lounge | 5 | 05-23-2010 12:57 PM |
iplinux-bootstrap failure | Nocturnal | OpenInkpot | 1 | 04-26-2010 03:57 AM |