1. dbacchet
  2. dbsdev

Source

dbsdev / var / dbscons

#!/usr/bin/python
import sys,os
scons_rel_dir='/var/scons-local-2.2.0'
old_chdir=os.getcwd()
for j in (1 << i for i in xrange(64)):
    if not os.access(os.getcwd()+'/SConstruct', os.F_OK):
       os.chdir('../')
if os.access(os.getcwd(	)+'/SConstruct', os.F_OK):
   sys.path = [ os.getcwd()+scons_rel_dir] + sys.path  
os.chdir(old_chdir)
import SCons.Script
SCons.Script.main()