diff --git a/setup.cfg b/setup.cfg index ed88aa4..b412b3c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,6 @@ +[aliases] +test=pytest + [flake8] exclude = .git, diff --git a/setup.py b/setup.py index 1a2396e..d23f46a 100644 --- a/setup.py +++ b/setup.py @@ -23,6 +23,13 @@ setup( "IPy>=0.83", "dnslib>=0.9.6", ], + setup_requires=[ + 'pytest-runner>=2.9' + ], + tests_require=[ + "pytest>=2.9.2", + "testfixtures>=4.10.0", + ], entry_points=dict(console_scripts=['onedns = onedns.cli:main']), zip_safe=False )