On Sat, 4 Mar 2017 at 22:58 Donald Stufft <donald@stufft.io> wrote:

On Mar 4, 2017, at 12:25 PM, Pradyun Gedam <pradyunsg@gmail.com> wrote:

Since PyPI does not have such information in a static declarative format, that approach is not feasible. pip will have to download packages and execute setup.py to know what the dependencies are.


I will note, that we can expose that information in PyPI for *wheels*, but not for sdists currently. It would be a lot more work though because it’d essentially require a whole new repository API and I doubt Pradyun wants to tackle that right now :)

Yeah... For now, it's just dependency resolution in pip.
 
Keeping a future in mind where we can get a least some of that information without downloading would be good though, at least to keep in mind when structuring code.
 
Duly noted.
 

Donald Stufft