-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
53 lines (48 loc) · 1.83 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
#!/usr/bin/env python3
"""Python setup script for PIP packaging"""
from __future__ import unicode_literals
import os
from setuptools import setup, find_packages
def read(fname):
"""Process files for configuration"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
install_reqs = [
"carbon-black-cloud-sdk",
"python-dateutil",
"pyyaml",
"requests",
"schema",
"yara-python"
]
setup(
name="cbc_binary_toolkit",
version=read("VERSION"),
url="/~https://github.com/carbonblack/cbc-binary-toolkit",
license="MIT",
author="Carbon Black",
author_email="dev-support@carbonblack.com",
description="The Carbon Black Cloud Binary Toolkit provides useful tools to process "
"binaries and upload IOCs to your Feeds",
long_description=read("README.md"),
long_description_content_type='text/markdown',
platforms="any",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=install_reqs,
package_dir={'': 'src'},
packages=find_packages(where="src", exclude=["tests.*", "tests"]),
include_package_data=True,
entry_points={"console_scripts": ["cbc-binary-analysis = cbc_binary_toolkit_examples.tools.analysis_util:main"]},
data_files=[("carbonblackcloud/binary-toolkit", ["config/binary-analysis-config.yaml.example"])]
)