From b1819c51b9478a7c4d1f06afb9530c17ad002bfe Mon Sep 17 00:00:00 2001 From: Vangelis Banos Date: Sun, 24 Sep 2017 10:51:29 +0000 Subject: [PATCH] Add missing packages from setup.py, add tox config. Add missing `requests` and `warcio` packages. They are used in unit tests but they were not included in `setup.py`. Add `tox` configuration in order to be able to run unit tests for py27, py34 and py35 with 1 command. --- setup.py | 2 ++ tox.ini | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 tox.ini diff --git a/setup.py b/setup.py index 25a2e49..36984b0 100755 --- a/setup.py +++ b/setup.py @@ -41,6 +41,8 @@ deps = [ 'urlcanon>=0.1.dev16', 'doublethink>=0.2.0.dev81', 'PySocks', + 'warcio', + 'requests' ] try: import concurrent.futures diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..bec9629 --- /dev/null +++ b/tox.ini @@ -0,0 +1,9 @@ +[tox] +envlist=py27,py34,py35 +[testenv] +deps= + pytest + pytest-xdist + requests + mock +commands=py.test -n 4