diff --git a/setup.cfg b/setup.cfg index d1d6da9..c50ce70 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,6 @@ +[aliases] +test=pytest + [tool:pytest] DJANGO_SETTINGS_MODULE = django_test_settings diff --git a/setup.py b/setup.py index bc18814..d5787c7 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,9 @@ setup( 'iso8601', 'singledispatch>=3.4.0.3', ], + setup_requires=[ + 'pytest-runner', + ], tests_require=[ 'django-filter>=0.10.0', 'pytest',