-
Notifications
You must be signed in to change notification settings - Fork 86
/
setup.py
61 lines (56 loc) · 1.4 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'
]
install_requires = [
'requests',
'cachetools',
'pyyaml',
'pika',
'prompt_toolkit',
'pygments',
'python-dateutil',
'protobuf',
'solrq',
'validators'
]
tests_requires = [
'pytest<=5.0'
]
if sys.version_info < (2, 7):
install_requires.extend(['simplejson', 'total-ordering', 'ordereddict'])
if sys.version_info < (3, 0):
install_requires.extend(['futures'])
if sys.version_info > (3, 6):
install_requires.extend(['packaging'])
setup(
name='cbapi',
version='2.0.0',
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,
tests_requires=tests_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']
)