From a6775c3faead950941517d3d4a3f6b1a84b457df Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Tue, 12 Jan 2016 17:12:00 -0500 Subject: Integrate pytest and flake8 into setuptools --- setup.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 466b10e..8f866b7 100644 --- a/setup.py +++ b/setup.py @@ -12,11 +12,20 @@ setup( open('LICENSE.rst').read() + '\n\n' + open('HISTORY.rst').read()), license='ISC', - py_modules=['dotfiles'], + py_modules=[ + 'dotfiles' + ], + setup_requires=[ + 'pytest-runner', + 'flake8', + ], install_requires=[ 'click', 'py', ], + tests_require=[ + 'pytest' + ], entry_points={ 'console_scripts': [ 'dotfiles=dotfiles:cli', -- cgit v1.2.3