2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-24 02:05:12 +01:00
This commit is contained in:
Thomas Nagy 2012-04-13 08:37:48 +02:00
parent b32115aab1
commit f37a7bc698
3 changed files with 5 additions and 8 deletions

View File

@ -20,7 +20,7 @@ Usage::
deps='some_data.mat')
"""
import os, re, sys
import os, sys
from waflib import Task, TaskGen, Logs
MATLAB_COMMANDS = ['matlab']

View File

@ -26,17 +26,14 @@ import os, re
from waflib import Task, TaskGen, Logs
def configure(ctx):
"""TODO: Needs updating for Windows once
def configure(conf):
"""TODO: Might need to be updated for Windows once
"PEP 397":http://www.python.org/dev/peps/pep-0397/ is settled.
"""
# Counter how many Python interpreters are found
cnt = 0
conf.find_program('python', var='PY2CMD', mandatory=False)
conf.find_program('python3', var='PY3CMD', mandatory=False)
if not conf.env.PY2CMD and not conf.env.PY3CMD:
ctx.fatal("No Python interpreter found!")
conf.fatal("No Python interpreter found!")
@Task.update_outputs
class run_py_2_script(Task.Task):

View File

@ -18,7 +18,7 @@ Usage::
"""
import os, re, sys
import os, sys
from waflib import Task, TaskGen, Logs
R_COMMANDS = ['RTerm', 'R', 'r']