Subject: Re: [PATCH python 02/20] gnu: Add python-pyproject-hooks.

From: Lars-Dominik Braun <[email-masked]>
Date: Mon, 1 May 2023 08:58:18 +0200

Hi,

> +               (replace 'build
> +                 (lambda _
> +                   (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
> +               (replace 'install
> +                 (lambda _
> +                   (let ((whl (car (find-files "dist" "\\.whl$"))))
> +                     (invoke "pip" "--no-cache-dir" "--no-input"
> +                             "install" "--no-deps" "--prefix" #$output whl)))))))

why is this necessary? As far as I see pyproject-hooks wants to be built
using flit_core, which we have a fully bootstrapped version of. Same
for pypa-build, which – as far as I can see – also builds using flit_core.

Cheers,
Lars