From de1beea245bd18cb9eadfb7dbaea6572269a97cd Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 19 Feb 2016 11:26:51 +1100 Subject: 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. --- wscript | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 9cbf682..5b79cd8 100644 --- a/wscript +++ b/wscript @@ -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): -- cgit v1.2.3