On 20 July 2017 at 23:43, Krzysiek Płachno <krzysiekplac...@gmail.com> wrote:
> None of them sends back required dependencies for package.
> Does it mean - this information is not obtainable via JSON Api?

Unfortunately not, as dependencies currently aren't generally
available in a declarative form, they're obtained by executing the
setup.py file contained in the source archive :(

As a result, the approach most folks currently take is to let
installation tools like `pip` worry about the problem, as they
recursively download the required dependencies as part of the
installation process. The `pip download` command is provided
specifically for the use case where the goal is just to obtain the
required package set, without necessarily installing them:
https://pip.pypa.io/en/stable/reference/pip_download/

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to