Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-12-2020, 07:09 AM   #1
cuser
Member
cuser began at the beginning.
 
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#
cuser is offline   Reply With Quote
Old 11-12-2020, 08:08 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
kovidgoyal is offline   Reply With Quote
Old 11-12-2020, 09:14 AM   #3
cuser
Member
cuser began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Oct 2020
Device: kindle
Quote:
Originally Posted by kovidgoyal View Post
bootstrapping only prepares the source tree. if you want to actually build a calibre binary tarball follow the instructions in bypy/README.rst
give up.
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
cuser is offline   Reply With Quote
Old 11-12-2020, 10:43 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
kovidgoyal is offline   Reply With Quote
Old 11-12-2020, 07:12 PM   #5
cuser
Member
cuser began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Oct 2020
Device: kindle
Quote:
Originally Posted by kovidgoyal View Post
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
https://www.mobileread.com/forums/sh...d.php?t=251201


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.
cuser is offline   Reply With Quote
Old 11-12-2020, 08:44 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 11-19-2020, 02:30 AM   #7
cuser
Member
cuser began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Oct 2020
Device: kindle
Quote:
Originally Posted by kovidgoyal View Post
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.
It's really a headache.
If want to get python-lib.bypy.frozen, how to do it.
Can be more specific. step by step.
thank you very much.
cuser is offline   Reply With Quote
Old 11-19-2020, 03:59 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 12-02-2020, 09:25 AM   #9
cuser
Member
cuser began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Oct 2020
Device: kindle
Quote:
Originally Posted by kovidgoyal View Post
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.
I want to cancel the automatic change of the calibre library file name to English in the bypy.frozen file.
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?
cuser is offline   Reply With Quote
Old 12-02-2020, 10:03 AM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 03:10 AM.


MobileRead.com is a privately owned, operated and funded community.