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.
This commit is contained in:
Chris Johns
2016-02-19 11:26:51 +11:00
parent 4351ae5eff
commit de1beea245
12 changed files with 41 additions and 26 deletions

View File

@@ -6,8 +6,7 @@ def options(opt):
opt.load('python')
def configure(conf):
conf.load('python')
conf.check_python_version((2,6,6))
pass
def build(bld):
source = ['__init__.py',
@@ -29,4 +28,5 @@ def build(bld):
'watchdog.py']
bld(features = 'py',
source = source,
install_from = '.',
install_path = '${PREFIX}/share/gdb/python/rtems')