forked from carbonblack/cbapi-python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·61 lines (56 loc) · 1.42 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
"""
cbapi-python
"""
from setuptools import setup
import sys
packages = [
'cbapi',
'cbapi.protection',
'cbapi.response',
'cbapi.cache',
'cbapi.psc',
'cbapi.psc.defense',
'cbapi.psc.threathunter',
'cbapi.psc.livequery'
]
install_requires=[
'requests',
'attrdict',
'cachetools',
'pyyaml',
'pika',
'prompt_toolkit',
'pygments',
'pytest',
'python-dateutil',
'protobuf',
'solrq',
'validators',
]
if sys.version_info < (2, 7):
install_requires.extend(['simplejson', 'total-ordering', 'ordereddict'])
if sys.version_info < (3, 0):
install_requires.extend(['futures'])
setup(
name='cbapi',
version='1.5.2',
url='https://github.com/carbonblack/cbapi-python',
license='MIT',
author='Carbon Black',
author_email='[email protected]',
description='Carbon Black REST API Python Bindings',
packages=packages,
include_package_data=True,
package_dir = {'': 'src'},
zip_safe=False,
platforms='any',
install_requires=install_requires,
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
],
scripts=['bin/cbapi-response', 'bin/cbapi-protection', 'bin/cbapi-defense', 'bin/cbapi', 'bin/cbapi-psc']
)