[Libre-soc-bugs] [Bug 433] building pia (power instruction analyser) needs to be documented

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Jul 24 23:05:34 BST 2020


--- Comment #29 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #28)
> (In reply to Luke Kenneth Casson Leighton from comment #25)
> > if they intended to use python3 they should use "python3" as the command.
> the "usual" way this is done in python when executing other subprocesses as
> part of building is to examine sys.argv[0] which is of course the current
> executable then use *that* as the outgoing executable.

that works -- except maturin doesn't get told what python's argv[0] is -- the
error message for `pip install .` showed the entire list of arguments passed to
['maturin', 'pep517', 'write-dist-info', '--metadata-directory',
'/tmp/pip-modern-metadata-60u_5apa', '--bindings=pyo3',
'--cargo-extra-args=--features python-extension']

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list