[Scons-users] configuration file
    Neal Becker 
    ndbecker2 at gmail.com
       
    Thu Jun  2 07:45:04 EDT 2016
    
    
  
Bill Deegan wrote:
> Neal,
> 
> You might want to look at the manpage for site_init.py (and site_scons
> directory)
> http://scons.org/doc/production/HTML/scons-man.html
> 
> This is a file which is evaluated into SCons by default when SCons is
> launched.
> SCons will check several different locations for the file.
> See snippet from manpage below.
> I think this should fit your usage exactly?
> 
Perhaps, but I need this to be per-project (per-directory).
For example, when building project A in my default system python 
environment, I use 1 setup.
When building project A using anaconda python in a virtualenv, I use a 2nd 
setup.
Right now, I use 2 different site.cfg files to setup the paths.
    
    
More information about the Scons-users
mailing list