scons linkage

rmgls rmgls at orange.fr
Tue Feb 22 06:57:16 UTC 2022


Hello Bill,

Thanks for this  helpful info.

Bests

Raoul



> On 22 Feb 2022, at 02:13, Bill Deegan <bill at baddogconsulting.com> wrote:
> 
> Raoul,
> 
> If you want to run modern scons with python3 (and you're using macports for newer python installs), probably easiest way to do so is to use a virtualenv.
> 
> https://scons-cookbook.readthedocs.io/en/latest/#setting-up-a-python-virtualenv-for-scons
> 
> -Bill
> SCons Project Co-Manager
> (my main machine is a mac..with macports.. ;)
> 
> On Mon, Feb 21, 2022 at 10:15 AM rmgls <rmgls at orange.fr> wrote:
> Hi Ryan,
> 
> thanks for clarification
> 
> Bests
> Raoul
> 
> 
> > On 21 Feb 2022, at 17:11, Ryan Schmidt <ryandesign at macports.org> wrote:
> > 
> > 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