forked from carbonblack/cbapi-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·51 lines (47 loc) · 1.36 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
"""
cbapi-python
"""
from setuptools import setup
import sys
packages = ['cbapi', 'cbapi.protection', 'cbapi.response', 'cbapi.cache', 'cbapi.defense']
if sys.version_info < (3, 0):
packages.extend(['cbapi.legacy', 'cbapi.legacy.util'])
install_requires=[
'requests',
'requests[security]',
'attrdict',
'cachetools',
'pyyaml',
'pika',
'prompt_toolkit',
'pygments',
'python-dateutil',
'protobuf'
]
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.3.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']
)