1 --- QScintilla-gpl-2.8.4/Python/configure.py.orig 2014-11-04 16:22:47.229532126 +0100
2 +++ QScintilla-gpl-2.8.4/Python/configure.py 2014-11-07 22:03:55.811128882 +0100
6 path = os.path.join(target_configuration.qsci_sip_dir, 'Qsci')
7 - files = glob.glob('sip/*.sip')
8 + files = glob.glob(os.path.join(target_configuration.src_dir, 'sip/*.sip'))
13 # any '-I' needed appears first.
14 pkg_root = os.path.dirname(os.path.abspath(__file__))
16 - sip_file = module_config.get_sip_file(target_config)
17 + sip_file = os.path.join(target_config.src_dir, module_config.get_sip_file(target_config))
19 head, tail = os.path.split(sip_file)
21 @@ -1611,8 +1611,11 @@
22 arguments. pkg_config is the package configuration.
25 + src_dir = os.path.dirname(os.path.abspath(__file__))
27 # Create the default target configuration.
28 target_config = _TargetConfiguration(pkg_config)
29 + target_config.src_dir = src_dir
31 # Parse the command line.
32 p = _create_optparser(target_config, pkg_config)