When installing a package with pip, is there a way to ignore (not install) some dependencies?
pip install [some package] --no-deps ignores all deps... but I'm only interested in ignoring a few.
When installing a package with pip, is there a way to ignore (not install) some dependencies?
pip install [some package] --no-deps ignores all deps... but I'm only interested in ignoring a few.
I couldn't find builtin thing for this but maybe i can find workaround that will do this like those:
use johnnydep:
pip install johnnydep and run it as:
python3 -m johnnydep ipython --output-format pinned -v 0 | grep -e <Your deps regex> | xargs pip install --no-deps this will installed ipython and the deps base on the regex