Re: pip and PEP 517 Backends

Paul Moore <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <CACac1F-DXKVstTLF3nFwZK1vQe0m25W7XwSQWeP_tW8V0bvezw@mail.gmail.com>
On Sat, 24 Aug 2019 at 06:46, Phil Thompson <[email protected]> wrote:
>
> I have a PEP 517 compatible backend which works with pip to install from
> an sdist (via an internal wheel). However there are a couple of
> issues...
>
> pip swallows all output from the backend. Is there anyway for the user
> to see the output (builds can take several minutes)?

pip -v (or maybe -vv) should show this (plus a chunk of other stuff,
unfortunately, but we don't have any finer control over what gets
logged (and I'm not even sure what a good UI for something like that
would look like).

> I would like to pass options from the pip command line to the backend
> but neither --global-option or --install-option have any effect (the
> config_settings argument is always None). How do I achieve this?

That's basically "not implemented yet" (mostly because there's limited
need for it with existing backends). So the answer to that would be to
propose a PR for pip that adds support for config_settings. Sorry...

Paul
--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/archives/list/[email protected]/message/YGE2XJFFFGN3ZRSXQBB45NZ4HZXPNSDN/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.