From b825483325ea0cdd55ecdc1964df7d580e4ec0c2 Mon Sep 17 00:00:00 2001 From: snare Date: Sat, 9 Apr 2016 19:10:47 +1000 Subject: [PATCH] Add windows-specific dep --- setup.py | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/setup.py b/setup.py index 2a5096b..5f64351 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,19 @@ +import sys from setuptools import setup, find_packages + +requirements = [ + 'scruffington>=0.3.2', + 'flask', + 'flask_restful', + 'blessed', + 'pygments', + 'requests', + 'requests_unixsocket' +] +if sys.platform == 'win32': + requirements.append('cursor') + setup( name="voltron", version="0.1", @@ -10,17 +24,8 @@ setup( keywords="voltron debugger ui gdb lldb vdb", url="https://github.com/snare/voltron", packages=find_packages(exclude=['tests', 'examples']), - install_requires=[ - 'scruffington>=0.3.2', - 'flask', - 'flask_restful', - 'blessed', - 'pygments', - 'requests', - 'requests_unixsocket' - ], + install_requires=requirements, package_data={'voltron': ['config/*']}, - install_package_data=True, entry_points={ 'console_scripts': ['voltron=voltron:main'] },