Skip to content

Commit 5f9ff84

Browse files
committed
Change install_requires to not require Django
1 parent 7fc678c commit 5f9ff84

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

django_coverage_plugin/plugin.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ def check_debug():
7878
return True
7979

8080

81+
if django.VERSION < (1, 8):
82+
raise RuntimeError("Django Coverage Plugin requires Django 1.8 or higher")
83+
84+
8185
if django.VERSION >= (1, 9):
8286
# Since we are grabbing at internal details, we have to adapt as they
8387
# change over versions.

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
url='https://github.com/nedbat/django_coverage_plugin',
3030
packages=['django_coverage_plugin'],
3131
install_requires=[
32-
'Django >= 1.8',
3332
'coverage >= 4.0',
3433
'six >= 1.4.0',
3534
],

0 commit comments

Comments
 (0)