X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FUDPClientServer%2FSConstruct;fp=Examples%2FUDPClientServer%2FSConstruct;h=1dab8340d1b55d22553c5d5f9ea17c7ad211aae3;hb=eb83d096ce313989c3588c1cb6663caa513fb370;hp=33efa6c82c3834672891b2da55d8622034ad3145;hpb=6c3e14487152691aeaecf210e324225a1168dff4;p=senf.git diff --git a/Examples/UDPClientServer/SConstruct b/Examples/UDPClientServer/SConstruct index 33efa6c..1dab834 100644 --- a/Examples/UDPClientServer/SConstruct +++ b/Examples/UDPClientServer/SConstruct @@ -1,7 +1,7 @@ # -*- python -*- -import sys -sys.path.extend(['senf/site_scons', '../../site_scons']) +import sys, os, os.path +sys.path.append(((_ for _ in (os.path.join(os.path.sep.join(('..' for _ in range(_))),d,'site_scons') for d in ('','senf','Senf') for _ in range(len(os.getcwd().split('/')))) if os.path.exists(_))).next()) import senfutil env = Environment()