Anybody using the old waf?
Fred Wright
fw at fwright.net
Fri Mar 28 18:05:20 UTC 2025
On Thu, 27 Mar 2025, Hal Murray via devel wrote:
>
>> There are definitely systems with python3 and no python. Eg, Debian 12
>> for example.
>
> Some (most?) distros have a tiny package that sets up python to go to
> python3.
>
> On Debian, it's python-is-python3, and buildprep installs it.
>
> On Fedora, it's python-unversioned-command-3.13.2
> I'll add it to buildprep
>
> On FreeBSD, python311-3.11.11 installs python3 and python3-3_4 sets up a
> link so python gets python3. I don't know if it does anything else.
>
> On FreeBSD, ./buildprep -n says:
> pkg install bison python3
> ln -s /usr/local/bin/python3 /usr/local/bin/python
> pkg install ca_root_nss
> I think the ln step is bogus. So I'll remove it.
What makes you think it's bogus? Aside from whether it's best to point to
'python3' or the target of 'python3', the 'python' symlink is what one is
supposed to have to allow unversioned shebangs to work (not to mention
users who simply want to type 'python').
> buildprep has simpilar code for NetBSD. I'll have to check to see if that
> is needed.
Fred Wright
More information about the devel
mailing list