[Distutils] Re: Making setup.py run external command to build

2021-03-25 Thread Jeremy Stanley
On 2021-03-25 20:01:12 + (+), Thomas Kluyver wrote: > I'm surprised it fails on the wheels - how exactly are you using > pip? > > If you're relying on PEP 517, then pip 18.1 is too old to install > it from an sdist - PEP 517 support was added in 19.0 >

[Distutils] Re: Making setup.py run external command to build

2021-03-25 Thread Jeremy Stanley
On 2021-03-25 19:07:50 + (+), Julian Smith wrote: [...] > I've come across a problem where an old pip-18.1 fails to install from > an sdist or wheel, with error: > > ERROR: You must give at least one requirement to install (see "pip help > install") > > pip-20.2.1 and pip-21.0.1

[Distutils] Re: Making setup.py run external command to build

2021-03-25 Thread Thomas Kluyver
On Thu, 25 Mar 2021, at 19:07, Julian Smith wrote: > I was a little surprised to find out that one can't use pip to create > an sdist, but i'm a bit late to this party and it looks like there's > been plenty of discussion about this in the past. There is now the (quite new) 'build' tool which can

[Distutils] Re: Making setup.py run external command to build

2021-03-25 Thread Julian Smith
On Tue, 23 Mar 2021 12:34:47 + "Thomas Kluyver" wrote: > On Tue, 23 Mar 2021, at 11:13, Julian Smith wrote: > > So as far as i can tell, there are two levels of abstraction at which > > on can implement customised Python packaging (the setuptools.setup()'s > > callbacks or the setup.py