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

2015-11-17 Thread Robert Collins
On 18 November 2015 at 00:26, Thomas Güttler wrote: .. > I want to parse a single dependency of a python > package. Presumably from Python; in which case you can use the packaging library once the PEP is pronounced on and the code has been added. If you want to do it from another language, you c

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

2015-11-17 Thread Donald Stufft
> On Nov 17, 2015, at 9:04 AM, Antoine Pitrou wrote: > > On Tue, 17 Nov 2015 03:33:09 -0800 > Nathaniel Smith wrote: >> >> 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

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

2015-11-17 Thread Antoine Pitrou
On Tue, 17 Nov 2015 03:33:09 -0800 Nathaniel Smith wrote: > > 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

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

2015-11-17 Thread Donald Stufft
> On Nov 17, 2015, at 6:33 AM, Nathaniel Smith wrote: > > On Nov 16, 2015 11:57 PM, "Thomas Güttler" > wrote: > > > > > The job of a dependency is to enable tools like pip [#pip]_ to find the > > > right > > > package to install. > > > > My worries: AFAIK p

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

2015-11-17 Thread Nathaniel Smith
On Nov 16, 2015 11:57 PM, "Thomas Güttler" 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 AF

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

2015-11-17 Thread Thomas Güttler
Am 17.11.2015 um 09:02 schrieb Robert Collins: On 17 November 2015 at 20:57, Thomas Güttler 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.

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

2015-11-17 Thread Robert Collins
On 17 November 2015 at 20:57, Thomas Güttler 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 AFAI

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

2015-11-16 Thread Thomas Güttler
> 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.