Re: [Distutils] PEP 517 again

2017-08-27 Thread Nathaniel Smith
On Sun, Aug 27, 2017 at 4:27 PM, Greg Ewing wrote: > Nathaniel Smith wrote: >> >> - creating an sdist failed for unexpected reasons, that need a human >> to sort out (due to a broken system, or bugs – hey, they happen – or >> ...) > > > I think that should still be

Re: [Distutils] PEP 517 again

2017-08-27 Thread Greg Ewing
Nathaniel Smith wrote: - creating an sdist failed for unexpected reasons, that need a human to sort out (due to a broken system, or bugs – hey, they happen – or ...) I think that should still be reported via an exception. Returning None should only be for the specific case that the backend

Re: [Distutils] Documentation link on PyPI.org

2017-08-27 Thread Brett Cannon
If you search the archive of this mailing list you will notice I asked this exact question about a month or 2 ago (I think). The answer I got was it is used on PyPI.org, but I don't know how to set it with setuptools (flit will probably add support after PEP 517). On Sun, Aug 27, 2017, 13:01

Re: [Distutils] Documentation link on PyPI.org

2017-08-27 Thread Ronald Oussoren
> On 27 Aug 2017, at 17:33, Wes Turner wrote: > > You can add a URL in the long_description (e.g. to > https://read-the-docs.readthedocs.org/ > ) I know, but that adds the URL to the project description and not the sidebar. PEP

Re: [Distutils] Documentation link on PyPI.org

2017-08-27 Thread Wes Turner
You can add a URL in the long_description (e.g. to https://read-the-docs.readthedocs.org/ ) It'd be useful to mention that here: https://packaging.python.org/tutorials/distributing-packages/ It would sure be great to be able to express with structured data that a project has [Sphinx] docs at a

[Distutils] Documentation link on PyPI.org

2017-08-27 Thread Ronald Oussoren
Hi, Is it possible to create a documentation in the section with “Project Links” on the page describing a release on PyPI.org ? That is, can I add some metadata to an sdist or wheel that would add an entry to that list, and if so how? I’m using setuptools to create the

Re: [Distutils] PEP 517 again

2017-08-27 Thread Daniel Holth
Return none makes sense, but I don't think the outcome of that or the "configurable src path" decisions will affect the success of the proposal. On Sun, Aug 27, 2017, 05:59 Paul Moore wrote: > On 26 August 2017 at 23:13, Nathaniel Smith wrote: > > This

Re: [Distutils] PEP 517 - a plan of action

2017-08-27 Thread Jeremy Kloth
On Sun, Aug 27, 2017 at 7:04 AM, Paul Moore wrote: > On 27 August 2017 at 13:41, Jeremy Kloth wrote: >> Again, I see what is being developed here (PEP 517) as not that >> different from what has already been done with DB-API (PEP 249). If >>

Re: [Distutils] PEP 517 - a plan of action

2017-08-27 Thread Paul Moore
On 27 August 2017 at 13:41, Jeremy Kloth wrote: > Again, I see what is being developed here (PEP 517) as not that > different from what has already been done with DB-API (PEP 249). If > databases can achieve consensus, I'm sure that build tools can too. :) One difference

Re: [Distutils] PEP 517 - a plan of action

2017-08-27 Thread Paul Moore
On 27 August 2017 at 12:03, Thomas Kluyver wrote: > I believe that the remaining questions are: > - srcdir-on-sys.path > - Notimplemented/Error (/None) > > Unfortunately, it's not clear to me what's the 'simplest' solution on > either, and we can't easily change whichever

Re: [Distutils] PEP 517 - a plan of action

2017-08-27 Thread Jeremy Kloth
On Sun, Aug 27, 2017 at 5:03 AM, Thomas Kluyver wrote: > I believe that the remaining questions are: > - srcdir-on-sys.path > - Notimplemented/Error (/None) > > Unfortunately, it's not clear to me what's the 'simplest' solution on > either, and we can't easily change

Re: [Distutils] PEP 517 - a plan of action

2017-08-27 Thread Thomas Kluyver
Thanks Paul for providing us with a way to move forwards. I'm in favour of what you propose. On Sun, Aug 27, 2017, at 11:37 AM, Paul Moore wrote: > 2. Thomas to complete and publish his library of helper functions for > PEP 517 consumers (optional - but I think he said he had such a thing > in

[Distutils] PEP 517 - a plan of action

2017-08-27 Thread Paul Moore
I feel that the discussion on PEP 517 is nearing an end. The outstanding questions are pretty detail-level, and there's little progress being made on them because the situations involved are mostly theoretical in the absence of actual implementations. So I propose the following plan of action: 1.

Re: [Distutils] PEP 517 again

2017-08-27 Thread Paul Moore
On 26 August 2017 at 23:13, Nathaniel Smith wrote: > This whole discussion is about handling a specific case: suppose you > have a frontend like pip that when given a source directory and asked > to build a wheel, wants to implement that as: > - build sdist > - unpack sdist >