Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.

Commit 5a85b18

Browse files
committed
Update test requirements
1 parent 5c53695 commit 5a85b18

File tree

5 files changed

+21
-9
lines changed

5 files changed

+21
-9
lines changed

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
include README.md
2-
include requirements.txt

requirements-test.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

requirements.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
PyJWT>=0.3.0,<0.4
1+
# Minimum Django and DRF version
2+
Django>=1.6
3+
djangorestframework>=2.4.3
4+
5+
# Test requirements
6+
pytest-django==2.6
7+
pytest==2.5.2
8+
pytest-cov==1.6
9+
flake8==2.2.2
10+
11+
# Optional packages
12+
django-oauth-plus>=2.2.1
13+
oauth2>=1.5.211
14+
django-oauth2-provider>=0.2.4

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ def run_tests(self):
2929
author = 'Jose Padilla'
3030
author_email = '[email protected]'
3131
license = 'MIT'
32-
install_requires = open('requirements.txt').read().split('\n')
32+
install_requires = [
33+
'PyJWT>=0.3.0,<0.4',
34+
]
3335

3436

3537
def get_version(package):

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
py27-flake8,
4-
{py27,py33,py34}-django{1.6,1.7}-drf{2.4.3,2.4.4,3.0}
4+
{py27,py33,py34}-django{1.6,1.7}-drf{2.4.3,2.4.4,3.0.0}
55

66
[testenv]
77
commands = ./runtests.py --fast
@@ -13,6 +13,9 @@ deps =
1313
drf2.4.3: djangorestframework==2.4.3
1414
drf2.4.4: djangorestframework==2.4.4
1515
drf3.0.0: djangorestframework==3.0.0
16+
py27-django1.6-drf{2.4.3,2.4.4,3.0.0}: oauth2==1.5.211
17+
py27-django1.6-drf{2.4.3,2.4.4,3.0.0}: django-oauth-plus==2.2.1
18+
py27-django1.6-drf{2.4.3,2.4.4,3.0.0}: django-oauth2-provider==0.2.4
1619
pytest-django==2.6.1
1720

1821
[testenv:py27-flake8]

0 commit comments

Comments
 (0)