From 6ae306ece361c67963c590014cce9dc9664ceb9f Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 2 Jan 2019 19:55:33 +0100 Subject: [PATCH] Revert "No deps by default on local install" This reverts commit 751ddeeab680bcaa52dc600bae421107996f15df. --- tools/local_install.py | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/tools/local_install.py b/tools/local_install.py index b79e90066d..07a143b7a1 100644 --- a/tools/local_install.py +++ b/tools/local_install.py @@ -6,24 +6,13 @@ import subprocess import sys -if '--deps' in sys.argv: - sys.argv.remove('--deps') - deps = [] -else: - deps = ['--nodeps'] - print("Weboob local installer") print() if len(sys.argv) < 2: print("This tool will install Weboob to be usuable without requiring") print("messing with your system, which should only be touched by a package manager.") print() - print("Usage: %s DESTINATION [OPTIONS]" % sys.argv[0]) - print() - print("By default, no dependencies are installed, as you should try") - print("to install them from your package manager as much as possible.") - print("To install all the missing dependencies, add the option --deps") - print("at the end of the command line.") + print("Usage: %s DESTINATION" % sys.argv[0]) print() print("Error: Please provide a destination, " "for example ‘%s/bin’" % os.getenv('HOME'), file=sys.stderr) @@ -35,7 +24,7 @@ subprocess.check_call( [sys.executable, 'setup.py', - 'install', '--user', '--install-scripts=%s' % dest] + sys.argv[2:] + deps, + 'install', '--user', '--install-scripts=%s' % dest] + sys.argv[2:], cwd=os.path.join(os.path.dirname(__file__), os.pardir)) subprocess.check_call([sys.executable, os.path.join(dest, 'weboob-config'), 'update']) -- GitLab