[Distutils] Get dependencies of a package without full download
donald at stufft.io
Wed Apr 1 20:20:37 CEST 2015
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.
> On Apr 1, 2015, at 2:17 PM, Barry Warsaw <barry at python.org> wrote:
> On Apr 01, 2015, at 04:14 PM, Thomas Güttler wrote:
>> Is it possible to get the dependencies of a package without full download
>> from pypi?
> It would be kind of nice if you could get the package's metadata (e.g
> egg-info/entry_points.txt) out of its PyPI JSON blob:
> Distutils-SIG maillist - Distutils-SIG at python.org
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the Distutils-SIG