From 18c39a6e4adf012dbe994fab653c1f1cc2ef5861 Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 16 Oct 2019 09:19:02 -0500 Subject: [PATCH] Separate setup.py dev extra Add coveralls dev requirement --- .travis.yml | 3 +-- setup.py | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 74c6d4c..2231954 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,8 +20,7 @@ env: - secure: TPQSFGqdl6khXqQqTZ6euROoAmFRnONAlPXD6npvTIIN+fNfnz8lvZtOEWHo2jRPLoU3FyVUhYvTynj6B2hJinulP+RKOMbQ65HCZVHrsitwl1n1QZB5HegQDOYc5q6VTTYn/r8r5tGy35U0O80y1zycTLqSJiXlkdqsSq564pI= install: - - pip install .[test] - - pip install coveralls + - pip install .[dev,test] script: - nosetests -v --with-coverage -c tests/travis-tests.cfg diff --git a/setup.py b/setup.py index 2a142bf..ed65bc0 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,6 @@ else: tests_require = [ "mock>=1.0.1", "nose>=1.3.3", - "tox>=2.4.0", "vcrpy>=1.10.3", ] @@ -37,7 +36,11 @@ setup(name="tweepy", ], tests_require=tests_require, extras_require={ - "test": tests_require + "dev": [ + "coveralls>=1.8.2", + "tox>=2.4.0", + ], + "test": tests_require, }, keywords="twitter library", python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', -- 2.25.1