diff options
author | Chris Johns <chrisj@rtems.org> | 2015-12-11 17:15:34 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2015-12-11 17:17:22 +1100 |
commit | a6f5f188ce61d586136c643125dfb857da64169f (patch) | |
tree | 25e2296f873bcb375ea979f515344b9a41b205e2 /tester/wscript | |
parent | VERSION as an INI format file. (diff) | |
download | rtems-tools-a6f5f188ce61d586136c643125dfb857da64169f.tar.bz2 |
Fix how to use the waf py feature to get py source and pyo file installed.
Thanks to ita for the example.
Diffstat (limited to 'tester/wscript')
-rw-r--r-- | tester/wscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tester/wscript b/tester/wscript index 56d0337..85dbd4a 100644 --- a/tester/wscript +++ b/tester/wscript @@ -42,8 +42,6 @@ def configure(conf): recurse(conf) conf.load('python') conf.check_python_version((2,6,6)) - conf.env['PYO'] = 0 - conf.env['PYC'] = 0 def build(bld): recurse(bld) @@ -62,11 +60,13 @@ def build(bld): 'rt/stty.py', 'rt/test.py', 'rt/version.py'], + install_from = '.', install_path = '${PREFIX}/share/rtems') bld(features = 'py', source = ['rt/pygdb/__init__.py', 'rt/pygdb/mi_parser.py', 'rt/pygdb/spark.py'], + install_from = '.', install_path = '${PREFIX}/share/rtems') bld.install_files('${PREFIX}/bin', ['rtems-test'], chmod = 0o755) |