From f2caa3b07af2eed89b2fad42965a96ea862a19a2 Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Mon, 26 Sep 2016 14:34:42 +0200 Subject: [PATCH] setup.py: Add a command to get the requirements --requires is not it; see https://mail.python.org/pipermail/distutils-sig/2013-December/023180.html This should help end-users to install weboob on their systems. --- setup.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup.py b/setup.py index a73d86cf32..6b446dd19b 100755 --- a/setup.py +++ b/setup.py @@ -156,6 +156,13 @@ def install_weboob(): if not options.deps: requirements = [] + try: + if sys.argv[1] == 'requirements': + print('\n'.join(requirements)) + sys.exit(0) + except IndexError: + pass + setup( name='weboob', version='1.2', -- GitLab