Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (45 loc) · 1.51 KB
/
Copy pathsetup.py
File metadata and controls
54 lines (45 loc) · 1.51 KB
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
import sys
import setuptools
if sys.version_info[0] != 3 or sys.version_info[1] < 4:
sys.exit("corelight-client currently requires Python >= 3.4")
def readme():
with open('README.rst') as f:
return f.read()
setuptools.setup(name="corelight-client",
version="1.5.22",
description="Corelight API client",
long_description=readme(),
url="https://github.com/corelight/corelight-client",
author="Corelight",
author_email="info@corelight.com",
license="BSD",
packages=["client"],
zip_safe=False,
obsoletes=["brobox_client"],
scripts=[
"bin/corelight-client",
"bin/bro-pkg-bundle",
# Legacy script, to be removed.
"bin/brobox"
],
package_data={
"client": [
"certs/corelight.pem"
],
"": ["LICENSE-APACHE", "COPYING", "NOTICE"]
},
install_requires=[
# 2.17.{1,2} have a problem with urllib3:
# https://github.com/requests/requests/issues/4104
# The client subclasses urllib3 transport internals (see the adapters in
# client/session.py); requests 2.32 reworked HTTPAdapter connection
# handling, so those overrides were updated to work across urllib3 1.x
# and 2.x. No upper bound: the client is tested against current requests
# (2.33+/urllib3 2.x).
"requests>=2.9.1,!=2.17.1,!=2.17.2",
],
classifiers=[
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only"
],
)