[Distutils] Pip is not a library was: FINAL DRAFT: Dependency specifier PEP

Nathaniel Smith njs at pobox.com
Tue Nov 17 06:33:09 EST 2015


On Nov 16, 2015 11:57 PM, "Thomas Güttler" <guettliml at thomas-guettler.de>
wrote:
>
> > The job of a dependency is to enable tools like pip [#pip]_ to find the
right
> > package to install.
>
> My worries: AFAIK pip is not a library.
>
> I don't want to re-implement code to handle this pep.
>
> I would like to re-use.
>
> But AFAIK pip is not a library.
>
> I am stupid and don't know how to proceed.
>
> Please tell me what to do.

Presumably there will be a dependency parser added to the 'packaging'
library, which already exists as a standard place to stick stuff like this,
so you'll just use that. (E.g. it's what pip uses for PEP 440 version
parsing today.)

https://pypi.python.org/pypi/packaging

-n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151117/f9e984db/attachment.html>


More information about the Distutils-SIG mailing list