From d1dd997b7bb58aedb059cdcd68b74117543c6088 Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Fri, 26 Jun 2020 18:59:23 -0600 Subject: [PATCH] setup: add dev dependencies closes #21 --- scripts/setup-hooks.sh | 5 ----- setup.py | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) 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=[