Commit e6510abd authored by Zen Fu's avatar Zen Fu
Browse files

[weblate] Allow installation of extra packages with dep update script

parent 2f5bbf81
......@@ -44,7 +44,11 @@ entries:
'skip': A list of packages to be skipped.
'require_pip': A list of packages that must be installed with pip.
'require_pip': A list of packages that must be installed from pip if they
appear somewhere in the dependency tree.
'extra_pip': A list of extra packages to be installed from pip regardless
of being dependencies of other packages.
'require_debian': A list of packages that must be installed from Debian.
......
......@@ -365,6 +365,7 @@ def main():
debian_needs = set(config.get('require_debian'))
deps = [Dependency(i, config['pip']) for i in output.getvalue().decode().splitlines()]
deps += [Dependency(i, config['pip']) for i in config.get('extras_pip', [])]
def in_debian(dep):
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment