mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-12-24 02:05:12 +01:00
cleanup
This commit is contained in:
parent
b32115aab1
commit
f37a7bc698
@ -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']
|
||||
|
@ -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):
|
||||
|
@ -18,7 +18,7 @@ Usage::
|
||||
"""
|
||||
|
||||
|
||||
import os, re, sys
|
||||
import os, sys
|
||||
from waflib import Task, TaskGen, Logs
|
||||
|
||||
R_COMMANDS = ['RTerm', 'R', 'r']
|
||||
|
Loading…
Reference in New Issue
Block a user