list python package dependencies without loading them ?

Posted by Denis on Stack Overflow See other posts from Stack Overflow or by Denis
Published on 2010-05-20T15:27:44Z Indexed on 2010/05/20 15:30 UTC
Read the original article Hit count: 182

Filed under:
|
|

Say that python package A requires B, C and D; is there a way to list A → B C D without loading them ?
Requires in the metadata (yolk -M A) are often incomplete, grr.
One can download A.tar / A.egg, then look through A/setup.py, but some of those are pretty gory.

(I'd have thought that getting at least first-level dependencies could be mechanized; even a 98 % solution would be better than avalanching downloads.)

A related question: pip-upgrade-package-without-upgrading-dependencies

© Stack Overflow or respective owner

Related posts about python

Related posts about packaging