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

2021-04-02 Thread Julian Smith
On Sun, 28 Mar 2021 18:13:26 +0100 Julian Smith wrote: > On Sat, 27 Mar 2021 00:05:35 + > Julian Smith wrote: > > I eventually managed to local installs from sdist to work with pip-18.1 > by modifying my pyproject.toml, changing: > > [build-s

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

2021-03-28 Thread Julian Smith
On Sat, 27 Mar 2021 00:05:35 + Julian Smith wrote: > On Fri, 26 Mar 2021 23:19:30 + > "Thomas Kluyver" wrote: > > > On Fri, 26 Mar 2021, at 23:04, Julian Smith wrote: > > > I can't tell from pip-18.1's diagnostics what exactly is going wrong. &

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

2021-03-26 Thread Julian Smith
On Fri, 26 Mar 2021 23:19:30 + "Thomas Kluyver" wrote: > On Fri, 26 Mar 2021, at 23:04, Julian Smith wrote: > > I can't tell from pip-18.1's diagnostics what exactly is going wrong. > > > > Given that my setup.py implements the normal distutils-style arg

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

2021-03-26 Thread Julian Smith
On Thu, 25 Mar 2021 20:01:12 + "Thomas Kluyver" wrote: > 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 > >

[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 >

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

2021-03-23 Thread Julian Smith
I've recently returned to this issue after a while away. I've ended up with a custom setup.py that runs the external build system as required, and allows pip install/sdist/bdist_wheel to work. However as a result of all this. i have some general questions. Basically i'm confused about the lack

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

2020-12-14 Thread Julian Smith
On Mon, 14 Dec 2020 10:25:41 -0500 Daniel Holth wrote: > enscons is an alternative to distutils. > Yes, i understand this. But enscons is for building python packages with scons. My project does not use scons, so i don't understand how it can help here. Unless... are you are suggesting that

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

2020-12-14 Thread Julian Smith
t.toml (which pip can use without a setup.py via > PEP 517). Thanks for this, but i'm struggling to get from what those two projects are doing, to learning how to get pip/distutils to run a 'make' command? Thanks, - Jules > > On Fri, Dec 11, 2020 at 10:09 AM Julian Smith wrote: > >

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

2020-12-11 Thread Julian Smith
Hello I have a project with a fairly involved build process where we generate C++ via a python-clang-based code analyser, generates Python bindings for the resulting C++ API with SWIG, and finally compile and link to create various .so's and .py files. I'd like to package things up with a