Re: [Distutils] Sources of truth

2015-10-12 Thread Robert Collins
On 12 October 2015 at 18:36, Nathaniel Smith wrote: > Hi all, > > Again trying to split out some more focused discussion from the big > thread about sdists... > > One big theme there has been the problem of "sources of truth": e.g. > in current sdists, there is a PKG-INFO file

Re: [Distutils] What metadata does pip actually need about sdists?

2015-10-12 Thread Nathaniel Smith
On Sun, Oct 11, 2015 at 10:55 PM, Marcus Smith wrote: >> >> So instead, the current plan is that we're going >> to drop the libraries inside a wheel and upload it to PyPI: > > aha... ok, now it's clearer where you're coming from. > but using what platform in the wheel tag? >

Re: [Distutils] What metadata does pip actually need about sdists?

2015-10-12 Thread Paul Moore
On 12 October 2015 at 07:14, Nathaniel Smith wrote: > On Sun, Oct 11, 2015 at 10:55 PM, Marcus Smith wrote: >>> >>> So instead, the current plan is that we're going >>> to drop the libraries inside a wheel and upload it to PyPI: >> >> aha... ok, now it's clearer

Re: [Distutils] Towards a simple and standard sdist format that isn't intertwined with distutils

2015-10-12 Thread Robert Collins
On 12 October 2015 at 21:15, Thomas Kluyver wrote: > On 12 October 2015 at 05:37, Robert Collins > wrote: >> >> And a bugfix :) - I didn't link to the docs for the build system >> interface we have today - >> >>

Re: [Distutils] Sources of truth

2015-10-12 Thread Paul Moore
On 12 October 2015 at 08:23, Nathaniel Smith wrote: > I mean the distribution name - there's no way to guarantee that > building foo-1.0.zip won't spit out bar-7.4.whl, where by "no way" I > mean "it's literally undecideable". I mean, if someone actually did > this it would be

Re: [Distutils] What metadata does pip actually need about sdists?

2015-10-12 Thread Nathaniel Smith
On Sun, Oct 11, 2015 at 10:49 PM, Donald Stufft wrote: > FTR, I plan on making some sort of auto builder for PyPI so it’s possible > that we can get pip to a point where almost all things it downloads are > binary wheels and we don’t need to worry too much about needing to

Re: [Distutils] Towards a simple and standard sdist format that isn't intertwined with distutils

2015-10-12 Thread Robert Collins
On 12 October 2015 at 19:23, Ralf Gommers wrote: > > > On Mon, Oct 12, 2015 at 6:37 AM, Robert Collins > wrote: >> >> On 12 October 2015 at 17:06, Robert Collins >> wrote: >> > EWOW, huge thread. >> > >> > I've read

Re: [Distutils] Sources of truth

2015-10-12 Thread Nathaniel Smith
On Sun, Oct 11, 2015 at 11:00 PM, Robert Collins wrote: > On 12 October 2015 at 18:36, Nathaniel Smith wrote: [...] >> the sdist name instead of the wheel name, it can actually do it > > but the sdist and the wheel have to have the same name- or do you

Re: [Distutils] Towards a simple and standard sdist format that isn't intertwined with distutils

2015-10-12 Thread Daniel Holth
I could be wrong but if egg-info actually generated a dist-info directory it would probably still work. On Mon, Oct 12, 2015 at 8:50 AM Thomas Kluyver wrote: > On 12 October 2015 at 05:37, Robert Collins > wrote: > >> And a bugfix :) - I didn't link

Re: [Distutils] Towards a simple and standard sdist format that isn't intertwined with distutils

2015-10-12 Thread Thomas Kluyver
On 12 October 2015 at 05:37, Robert Collins wrote: > And a bugfix :) - I didn't link to the docs for the build system > interface we have today - > https://pip.pypa.io/en/latest/reference/pip_install/#build-system-interface > I'm happy to see that the command line

Re: [Distutils] Towards a simple and standard sdist format that isn't intertwined with distutils

2015-10-12 Thread Ralf Gommers
On Mon, Oct 12, 2015 at 6:37 AM, Robert Collins wrote: > On 12 October 2015 at 17:06, Robert Collins > wrote: > > EWOW, huge thread. > > > > I've read nearly all of it but in order not to make it massively > > worse, I'm going to reply to

Re: [Distutils] Towards a simple and standard sdist format that isn't intertwined with distutils

2015-10-12 Thread Wes Turner
On Oct 11, 2015 11:07 PM, "Robert Collins" wrote: > > EWOW, huge thread. > > I've read nearly all of it but in order not to make it massively > worse, I'm going to reply to all the points I think need raising in > one mail :). > > Top level thoughts here, more point

Re: [Distutils] Towards a simple and standard sdist format that isn't intertwined with distutils

2015-10-12 Thread Thomas Kluyver
On 12 October 2015 at 11:01, Robert Collins wrote: > Python packaging config in $root/pypa.yaml > > Defined keys: > > ... > build-tool: > # basic command that will spit a hunk of json back to the caller > defining the > # commands to use with the build tool. >

Re: [Distutils] Towards a simple and standard sdist format that isn't intertwined with distutils

2015-10-12 Thread Robert Collins
On 13 October 2015 at 06:23, Nathaniel Smith wrote: > On Oct 12, 2015 10:16 AM, "Robert Collins" > wrote: ... >> So until we solve the problems related to unloading something loaded >> into Python and loading a different version in and all the related

Re: [Distutils] Towards a simple and standard sdist format that isn't intertwined with distutils

2015-10-12 Thread Robert Collins
On 13 October 2015 at 01:52, Daniel Holth wrote: > I could be wrong but if egg-info actually generated a dist-info directory it > would probably still work. I'd worry about fallout - since pip doesn't need to change (much) either way, I'd be inclined to be specific and allow

[Distutils] Meeting info re: sdists

2015-10-12 Thread Nathaniel Smith
Hangouts URL: https://hangouts.google.com/call/fzzbnwpdujlkhtcv6lmcopnqj4a Shared document for notes: https://docs.google.com/document/d/11MZVPaayaFD3dd1NRjcKpyzlk_1IXkgQDqtkxkXuoNk/edit?usp=sharing -n -- Nathaniel J. Smith -- http://vorpus.org

Re: [Distutils] Towards a simple and standard sdist format that isn't intertwined with distutils

2015-10-12 Thread Robert Collins
On 13 October 2015 at 02:33, Thomas Kluyver wrote: > On 12 October 2015 at 11:01, Robert Collins > wrote: >> >> Python packaging config in $root/pypa.yaml >> >> Defined keys: >> >> ... >> build-tool: >> # basic command that will spit a hunk of

Re: [Distutils] Towards a simple and standard sdist format that isn't intertwined with distutils

2015-10-12 Thread Nathaniel Smith
On Oct 12, 2015 10:16 AM, "Robert Collins" wrote: > > On 13 October 2015 at 02:33, Thomas Kluyver wrote: > > On 12 October 2015 at 11:01, Robert Collins > > wrote: > >> > >> Python packaging config in $root/pypa.yaml > >> >