[Distutils] Get dependencies of a package without full download

Thomas Güttler guettliml at thomas-guettler.de
Thu Apr 2 12:27:18 CEST 2015



Am 01.04.2015 um 20:20 schrieb Donald Stufft:
> The answer to this is technically yes, but realistically no.
>
> If you build Wheels and you upload a Wheel *first* and you use twine
> to do so, then you will register the dependency information with
> PyPI and that will be available in the JSON API. If you upload a sdist
> first (or you type setup.py register) or you don’t use twine then
> they will not get registered.
>
> Look for “requires_dist” in https://pypi.python.org/pypi/twine/json
>
> If anyone has specific things they’d like to see in an API I urge you
> to open issues on the Warehouse issue tracker
> (https://github.com/pypa/warehouse) so that we can make sure we
> consider them for inclusion into Warehouse.

Just my feelings, without technical/logical background:

I hate the "ORs" and "IFs" in the python packaging world.

Can't it be done "condition less"?

I want a stupid straight forward step by step way.

Regards,
   Thomas Güttler




More information about the Distutils-SIG mailing list