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

Donald Stufft donald at stufft.io
Tue Nov 17 07:48:49 EST 2015


> On Nov 17, 2015, at 6:33 AM, Nathaniel Smith <njs at pobox.com> wrote:
> 
> On Nov 16, 2015 11:57 PM, "Thomas Güttler" <guettliml at thomas-guettler.de <mailto: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 <https://pypi.python.org/pypi/packaging>
> 

https://github.com/pypa/packaging/pull/45 <https://github.com/pypa/packaging/pull/45>

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151117/77474fdd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151117/77474fdd/attachment-0001.sig>


More information about the Distutils-SIG mailing list