jenkins-bot merged this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[IMPR] Install script dependencies all at once in tox.ini

Change-Id: I15769f4ce62898c7f38066dc680a66d4b29ef90d
---
M setup.py
M tox.ini
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/setup.py b/setup.py
index 2ef2645..44e59c2 100644
--- a/setup.py
+++ b/setup.py
@@ -96,6 +96,7 @@
script_deps['data_ingestion.py'] = extra_deps['csv']

extra_deps.update(script_deps)
+extra_deps.update({'scripts': [i for k, v in script_deps.items() for i in v]})

# ------- setup install_requires ------- #
# packages which are mandatory
diff --git a/tox.ini b/tox.ini
index ff5de6c..8a88118 100644
--- a/tox.ini
+++ b/tox.ini
@@ -36,6 +36,7 @@

fasttest: nose
fasttest: mock
+ fasttest: .[scripts]

fasttest-py27: nose-detecthttp
fasttest-py27: unicodecsv

To view, visit change 578072. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I15769f4ce62898c7f38066dc680a66d4b29ef90d
Gerrit-Change-Number: 578072
Gerrit-PatchSet: 3
Gerrit-Owner: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot (75)