scons linkage

Ryan Schmidt ryandesign at macports.org
Mon Feb 21 16:11:18 UTC 2022


On Feb 19, 2022, at 01:24, rmgls wrote:

> how to bypass the 2.7 python in /system/Library and direct  by default to  a macport version or even a user path.
> details:
> port install scons  3.1.X
> port select  --set …..
> invoking scons  calls the system scons 2.7?

The scons port version 3.1.2 uses MacPorts python 2.7 -- at least that is the intention. It is not intended to use the system's python.

You may verify which python it will run by using this command:


head -n1 $(which scons)


A future version of the scons port will use MacPorts python 3.x. You may Cc yourself on this ticket if you wish to be notified when that happens:

https://trac.macports.org/ticket/59303


More information about the macports-users mailing list