diff options
author | Chris Johns <chrisj@rtems.org> | 2016-02-19 11:26:51 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-02-19 11:26:51 +1100 |
commit | de1beea245bd18cb9eadfb7dbaea6572269a97cd (patch) | |
tree | d1e616e2d72a17e4d4b85f14df5920788d6b74f2 /wscript | |
parent | 4351ae5eff514ec9bcd9b6d2faae6bbb4fce9202 (diff) |
Disable installing PYO and PYC. Fix install paths.
Installing PYO and PYC does not work so disable this. Move the
Python check to the top level and have a single place.
Fix the install paths a revert the 'from . import' changes. This
is resolved by installing into the correct paths.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -100,6 +100,16 @@ def configure(ctx): ctx.end_msg('%s (%s)' % (ctx.env.RTEMS_RELEASE, ctx.env.RTEMS_VERSION)) ctx.env.C_OPTS = ctx.options.c_opts.split(',') check_options(ctx, ctx.options.host) + # + # Common Python check. + # + ctx.load('python') + ctx.check_python_version((2,6,6)) + # + # Installing the PYO,PYC seems broken on 1.8.19. The path is wrong. + # + ctx.env.PYO = 0 + ctx.env.PYC = 0 recurse(ctx) def build(ctx): |