diff --git a/scripts/setup-hooks.sh b/scripts/setup-hooks.sh index 941e0e58..5c5feae3 100755 --- a/scripts/setup-hooks.sh +++ b/scripts/setup-hooks.sh @@ -21,8 +21,3 @@ create_hook() { echo '\n#### Copying hooks into .git/hooks' create_hook 'post-commit' create_hook 'pre-push' - -echo '\n#### Installing linter/test dependencies\n' -pip install pycodestyle pytest-sugar -pip install https://github.com/williballenthin/vivisect/zipball/master -python setup.py develop diff --git a/setup.py b/setup.py index de1b8a04..317b1ab7 100644 --- a/setup.py +++ b/setup.py @@ -51,6 +51,13 @@ setuptools.setup( }, include_package_data=True, install_requires=requirements, + extras_require={ + 'dev': [ + 'pytest', + 'pytest-sugar', + 'pycodestyle', + ] + }, zip_safe=False, keywords='capa', classifiers=[