KDE/kdelibs/bksys
David Faure
faure at kde.org
Sat Oct 15 12:24:57 CEST 2005
SVN commit 470807 by dfaure:
It was taking the unix detect_lowlevel instead of the osx one, because another
module before (compiler.py) had put the unix path first. I think we need to either:
* append platform-specific paths only once and for all in generic.py
(but then osx needs to always duplicate the unix files... not good;
I guess symlinks are not really an option, with windows filesystems...), or
* find another syntax to load a .py from a subdir. Is that possible?
CCMAIL: kde-buildsystem at kde.org
M +3 -3 lowlevel.py
--- trunk/KDE/kdelibs/bksys/lowlevel.py #470806:470807
@@ -160,13 +160,13 @@
## The platform-dependent checks
if sys.platform == 'darwin':
- sys.path.append('bksys'+os.sep+'osx')
+ sys.path.insert(0,'bksys'+os.sep+'osx')
from detect_lowlevel import detect
elif env['WINDOWS']:
- sys.path.append('bksys'+os.sep+'win32')
+ sys.path.insert(0,'bksys'+os.sep+'win32')
from detect_lowlevel import detect
else:
- sys.path.append('bksys'+os.sep+'unix')
+ sys.path.insert(0,'bksys'+os.sep+'unix')
from detect_lowlevel import detect
detect(env, dest)
dest.close()
More information about the Kde-buildsystem
mailing list