Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Sun, 19 Oct 2014 13:54:39 UTC Commit: 41a83df7f55e723d68abb3576f1b09ee3bf96282 https://github.com/geany/geany-plugins/commit/41a83df7f55e723d68abb3576f1b09...
Log Message: ----------- After configure, list also plugins skipped due to missing dependencies
Modified Paths: -------------- wscript
Modified: wscript 4 lines changed, 4 insertions(+), 0 deletions(-) =================================================================== @@ -126,9 +126,12 @@ def configure(conf): if revision is not None: conf.msg('Compiling Git revision', revision) conf.msg('Plugins to compile', ' '.join(enabled_plugins)) + plugins_with_missing_dependencies =conf.env['plugins_with_missing_dependencies'] + conf.msg('Plugins to skip due to missing dependencies', ' '.join(plugins_with_missing_dependencies))
def configure_plugins(conf, enabled_plugins): + conf.env['plugins_with_missing_dependencies'] = [] # we need to iterate over the plugin directories ourselves to be able # to catch plugin ConfigurationError's and remove the plugin in this case plugins = list(enabled_plugins) @@ -139,6 +142,7 @@ def configure_plugins(conf, enabled_plugins): conf.recurse(plugin, mandatory=False) except ConfigurationError: enabled_plugins.remove(plugin) + conf.env['plugins_with_missing_dependencies'].append(plugin)
def setup_configuration_env(conf):
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).