From 9f89ddb2961dfdbb2fb87546c7918aa3846827b5 Mon Sep 17 00:00:00 2001 From: novirium Date: Fri, 3 Jan 2020 11:19:42 +0800 Subject: [PATCH] Add dev environment setup --- setup.py | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 7f15ca6..4332161 100644 --- a/setup.py +++ b/setup.py @@ -7,11 +7,30 @@ setup( author_email='t.wilson@distreon.com.au', packages=['shepherd', ], install_requires=[ - 'toml', - 'apscheduler', - 'paramiko', - 'click' - ], + "preserve@git+https://git.distreon.net/novirium/python-preserve.git", + "config-spec@git+https://git.distreon.net/novirium/config-spec.git", + 'toml', + 'requests', + 'apscheduler', + 'paramiko', + 'click' + ], + extras_require={ + 'dev': [ + 'autopep8', + 'pylint', + 'pytest', + 'pytest-flake8', + 'pytest-cov', + 'pytest-sugar', + 'tox' + ], + 'test': [ + 'pytest', + 'pytest-flake8' + ] + }, + entry_points={ 'console_scripts': ['shepherd=shepherd.core:cli'], },