[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-28 Thread Nick Coghlan
On Thu, 27 Sep 2018 at 00:11, Paul Ganssle wrote: > > Sorry it's taken me a while to respond in this thread, but I think I'd > like to slightly reframe the question away from `setuptools` > specifically - considering that certain requirements are standardized in > the Core Metadata specification,

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-26 Thread Paul Moore
On Wed, 26 Sep 2018 at 15:31, Donald Stufft wrote: > > > > On Sep 26, 2018, at 10:23 AM, Paul Moore wrote: > > On Wed, 26 Sep 2018 at 15:11, Paul Ganssle wrote: > > > Sorry it's taken me a while to respond in this thread, but I think I'd > like to slightly reframe the question away from

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-26 Thread Donald Stufft
> On Sep 26, 2018, at 10:23 AM, Paul Moore wrote: > > On Wed, 26 Sep 2018 at 15:11, Paul Ganssle > wrote: >> >> Sorry it's taken me a while to respond in this thread, but I think I'd >> like to slightly reframe the question away from `setuptools` >> specifically -

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-26 Thread Paul Moore
On Wed, 26 Sep 2018 at 15:11, Paul Ganssle wrote: > > Sorry it's taken me a while to respond in this thread, but I think I'd > like to slightly reframe the question away from `setuptools` > specifically - considering that certain requirements are standardized in > the Core Metadata specification,

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-26 Thread Paul Ganssle
Sorry it's taken me a while to respond in this thread, but I think I'd like to slightly reframe the question away from `setuptools` specifically - considering that certain requirements are standardized in the Core Metadata specification, might it make sense to add those to the core spec for

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-25 Thread Daniel Holth
Yes! bdist_wheel is supposed to be how you install packages built with setuptools on platforms without setuptools, to give you time to write its replacement. On Tue, Sep 25, 2018, 15:39 Thomas Kluyver wrote: > On Tue, Sep 25, 2018, at 9:13 AM, Paul Moore wrote: > > I personally don't see much

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-25 Thread Thomas Kluyver
On Tue, Sep 25, 2018, at 9:13 AM, Paul Moore wrote: > I personally don't see much advantage in the "dump everything in one > file" philosophy. so from a personal POV I'd prefer setuptools' config > to remain in setup.cfg, but if they have reasons for wanting to move, > the PEP allows them that

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-25 Thread Nick Coghlan
On Tue, 25 Sep 2018 at 02:16, Daniel Holth wrote: > > You could probably implement this outside of setuptools as an extension. > Clients would add a load-toml line to setup.py. Do build requirements work > yet? > > One obstacle might be reconciling the all-strings nature of .cfg with typed >

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-25 Thread Paul Moore
On Mon, 24 Sep 2018 at 23:03, Dan Ryan wrote: > > The App/Library point is partly why we haven’t jumped on this bandwagon, the > distinction is important and keeping things separate has been done > intentionally. Others (such as Nick or Donald) would be in a better position > to speak to this

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-24 Thread Dan Ryan
: [Distutils] Re: setuptools configuration in pyproject.toml On Mon, Sep 24, 2018 at 5:31 PM Bernat Gabor wrote: So what do people think? Should we encourage or discourage to have a single python project file? Apples and oranges. Libraries vs. applications vs. mystical and various 'enterprise

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-24 Thread Bernat Gabor
Yes, furthermore PEP-517 as sdist is implemented in tox and under development for pip. On Mon, Sep 24, 2018, 20:26 Pradyun Gedam wrote: > > > On Mon, 24 Sep 2018, 21:46 Daniel Holth, wrote: > >> You could probably implement this outside of setuptools as an extension. >> Clients would add a

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-24 Thread Pradyun Gedam
On Mon, 24 Sep 2018, 21:46 Daniel Holth, wrote: > You could probably implement this outside of setuptools as an extension. > Clients would add a load-toml line to setup.py. Do build requirements work > yet? > Yep. PEP 518 is supported by the latest version of pip (18.0). > One obstacle might

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-24 Thread Paul Moore
On Mon, 24 Sep 2018 at 16:32, Bernat Gabor wrote: > > I'm aware this might be a controversial subject, so let's have the initial > discussion about it here first for full disclosure and see what people think > about it. Should setuptools support pyproject.toml as configuration source or > not

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-24 Thread Daniel Holth
You could probably implement this outside of setuptools as an extension. Clients would add a load-toml line to setup.py. Do build requirements work yet? One obstacle might be reconciling the all-strings nature of .cfg with typed toml. On Mon, Sep 24, 2018, 12:06 RonnyPfannschmidt <

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-24 Thread RonnyPfannschmidt
I believe contributions in the directions would be welcome, for now having something like tool.setuptools.{metadata,options,command.*} might be interesting to grow and experiment with but whats really missing is a setuptools conributor with more than just thinly stretched time. -- Ronny Am

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-24 Thread Tzu-ping Chung
Not sure if you’re already aware of this, but there’s a similar discussion just a short while ago. https://mail.python.org/mm3/archives/list/distutils-sig@python.org/thread/54QFJKANZOXY6NQZKEAPG346OL7MCQCV/#54QFJKANZOXY6NQZKEAPG346OL7MCQCV

[Distutils] Re: setuptools configuration in pyproject.toml

2018-09-24 Thread Joni Orponen
On Mon, Sep 24, 2018 at 5:31 PM Bernat Gabor wrote: > So what do people think? Should we encourage or discourage to have a > single python project file? > Apples and oranges. Libraries vs. applications vs. mystical and various 'enterprise deployables'. Which are you thinking of people working