View Single Post
Old 01-30-2023, 05:49 AM   #1
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Could calibre-debug ignore unknow option if the first argument is a .py file?

Hi Kovid, I use calibre-debug to run pip install command like this:

Code:
$ calibre-debug -e /usr/lib/python3.10/site-packages/pip/__pip-runner__.py -- install pkg
But some dependency packages may use pip arguments unsupported by calibre-debug. For example `--egg-base` in this issue: https://github.com/xxyzz/WordDumb/is...sue-1561774062

Could these lines https://github.com/kovidgoyal/calibr...g.py#L306-L307 be moved above `option_parser().parse_args()`?
xxyzz is offline   Reply With Quote