[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 22:54:30 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=433

--- Comment #28 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #25)
> (In reply to Jacob Lifshay from comment #24)
> 
> > >       Caused by: Only python >= 3.5 is supported, while your using python 2.
> > 
> > that is the same as https://github.com/PyO3/maturin/issues/333
> > 
> > as a workaround, build in a python3 virtualenv
> 
> 
> right.  i know what they've done.
> 
> first: they cannot spell the word "you're" ( the relative pronoun "your" is
> not a substitute for the shortening of the phrase "you are")
> 
> second: they have assumed that /usr/bin/python is the absolute default link
> to /usr/bin/python3.
> 
> 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.

other tricks involve detecting the libraries and include headers etc. all of
which setuptools and distutils covers extremely well.

setup-tools has had 20 years development behind it, and the people behind it
knew what they were doing.

it basically sounds to me like maturin is attempting to reinvent things and not
really being mature enough to cover the 20 years worth of corner cases that
setuptools accumulated.

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


More information about the libre-soc-bugs mailing list