Skip to content

Commit f2ea236

Browse files
committed
Add testing extras_require, and move six to it
1 parent ee40819 commit f2ea236

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

setup.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,19 @@ def read(fname):
3333
install_requires=[
3434
'pytest>=3.6',
3535
'pathlib;python_version<"3.4"',
36-
'six',
3736
],
3837
extras_require={
3938
'docs': [
4039
'sphinx',
4140
'sphinx_rtd_theme',
42-
]
41+
],
42+
'testing': [
43+
'pytest>=3.6',
44+
'Django',
45+
'django-configurations==2.0',
46+
'pytest-xdist==1.15',
47+
'six',
48+
],
4349
},
4450
classifiers=['Development Status :: 5 - Production/Stable',
4551
'Framework :: Django',

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ envlist =
77
- py{36,py27}-checkqa
88

99
[testenv]
10+
extras = testing
1011
deps =
11-
pytest>=3.6
12-
django-configurations==2.0
13-
pytest-xdist==1.15
1412
{env:_PYTESTDJANGO_TOX_EXTRA_DEPS:}
1513

1614
djmaster: https://github.com/django/django/archive/master.tar.gz

0 commit comments

Comments
 (0)