-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
74 lines (70 loc) · 2.35 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
62
63
64
65
66
67
68
69
70
71
72
73
74
import os
from setuptools import find_packages, setup
# Try to load the version from a datafile in the package
package_version = "4.0.0.dev0"
package_version_path = os.path.join(os.path.dirname(__file__), "assemblyline_v4_service", "VERSION")
if os.path.exists(package_version_path):
with open(package_version_path) as package_version_file:
package_version = package_version_file.read().strip()
# read the contents of your README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="assemblyline-v4-service",
version=package_version,
description="Assemblyline 4 - Service base",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/CybercentreCanada/assemblyline-v4-service/",
author="CCCS Assemblyline development team",
author_email="assemblyline@cyber.gc.ca",
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"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",
],
keywords="assemblyline automated malware analysis gc canada cse-cst cse cst cyber cccs",
packages=find_packages(
exclude=[
"test/*",
"docker/*",
"assemblyline_result_sample_service/*",
"assemblyline_extra_feature_service/*",
]
),
install_requires=[
"assemblyline",
"assemblyline-core",
"cart",
"fuzzywuzzy",
"pefile",
"pillow!=10.1.0,!=10.2.0",
"python-Levenshtein",
"regex",
],
extras_require={
"updater": [
"gunicorn[gevent]",
"flask",
"gitpython",
"git-remote-codecommit",
"psutil",
]
},
package_data={
"": [
"*.xml",
"VERSION",
],
"assemblyline_v4_service": ["py.typed"],
},
)