if autoDebuildConfig['version'] is None:
raise Exception("VCS did not provide us with a proper version number, please fix this")
# copy some more optional configuration
- for option in ('dbgPackage', 'section', 'binarySkipFiles', 'binaryInstallFiles',
+ for option in ('dbgPackage', 'section', 'withPython2', 'binarySkipFiles', 'binaryInstallFiles',
'buildDepends', 'binaryDepends', 'binaryRecommends', 'binaryProvides',
'cmakeParameters', 'automakeParameters'):
if option in self.module:
print "Building module",project.sourceFolder()
project.buildSystem.build(reconfigure=args.reconfigure)
print
- except (subprocess.CalledProcessError, KeyboardInterrupt) as e:
+ except (subprocess.CalledProcessError, KeyboardInterrupt) as e: # for some exceptions, a stackrace is usually pointless
print >> sys.stderr
print >> sys.stderr
if isinstance(e, KeyboardInterrupt): # str(e) would be the empty string