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 <ba...@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:
> 
> https://pypi.python.org/pypi/flufl.i18n/json
> 
> Cheers,
> -Barry
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG@python.org
> https://mail.python.org/mailman/listinfo/distutils-sig

---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to