Modify setup.py to include PATH into subshell env under win32

Signed-off-by: Romain Bignon <romain@peerfuse.org>
This commit is contained in:
Laurent Dufréchou 2011-03-17 11:55:45 +01:00 committed by Romain Bignon
commit 08d556a6e2

View file

@ -83,7 +83,7 @@ def build_qt():
pyuic4 = check_executable('pyuic4', 'To disable Qt applications, use --no-qt.')
if sys.platform == 'win32':
env={ 'PYUIC' : pyuic4}
env={ 'PYUIC' : pyuic4, 'PATH':os.environ['PATH']}
extraMakeFlag = ['-e']
else:
env = None