seba: explicitly find python interprete on windows

This commit is contained in:
Ivan 'provod' Avdeev 2022-11-13 16:23:50 -08:00 committed by Ivan Avdeev
parent 9de9620135
commit 45d5565898

View File

@ -4,7 +4,8 @@ import json
def configure(conf):
conf.find_program('sebastian', var='SEBASTIAN', exts='.py', path_list=[conf.path.abspath()])
if conf.env.DEST_OS == 'win32':
conf.env.SEBASTIAN = ['python'] + conf.env.SEBASTIAN
conf.find_program('python')
conf.env.SEBASTIAN = conf.env.PYTHON + conf.env.SEBASTIAN
class sebastian(Task.Task):
color = 'CYAN'