View Single Post
Old 01-30-2023, 07:18 AM   #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,419
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That would imply that pip or a setup script in the package is re-executing the process using calibre-debug as the interpreter.

No, there is no way to use the python interpreter as a normal interpreter. It's designed to run in embedded, isolated mode.

You could create your own wrapper script that accepts the same arguments as python and translates them into equivalent calibre-debug invocations.
kovidgoyal is offline   Reply With Quote