summaryrefslogtreecommitdiff
path: root/app-forensics/volatility3/files/volatility3-2.4.1-install.patch
blob: aee83bdf885a5bc8cfcae88d5ef753ea5a4f6ec1 (plain)
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
75
76
77
78
79
80
81
From b4c6b661f01fc3dde54362a4f55be4d89e4cc6e5 Mon Sep 17 00:00:00 2001
From: Mike Auty <mike.auty@gmail.com>
Date: Sun, 3 Sep 2023 21:11:36 +0100
Subject: [PATCH] Core: Include only volatility3 in distributions packages
Upstream: https://github.com/volatilityfoundation/volatility3/commit/b4c6b661f01fc3dde54362a4f55be4d89e4cc6e5

Fixes #951
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@ def get_install_requires():
     include_package_data=True,
     exclude_package_data={"": ["development", "development.*"], "development": ["*"]},
     packages=setuptools.find_namespace_packages(
-        exclude=["development", "development.*"]
+        include=["volatility3"]
     ),
     entry_points={
         "console_scripts": [
From 05df365936a5965171632c7b0b0dbd1bee6c08a9 Mon Sep 17 00:00:00 2001
From: Mike Auty <mike.auty@gmail.com>
Date: Tue, 5 Sep 2023 18:23:48 +0100
Subject: [PATCH] Core: Fix missing packages in setup.py
Upstream: https://github.com/volatilityfoundation/volatility3/commit/05df365936a5965171632c7b0b0dbd1bee6c08a9

Fixes #1002.
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@
 
 def get_install_requires():
     requirements = []
-    with open("requirements-minimal.txt", "r", encoding = "utf-8") as fh:
+    with open("requirements-minimal.txt", "r", encoding="utf-8") as fh:
         for line in fh.readlines():
             stripped_line = line.strip()
             if stripped_line == "" or stripped_line.startswith("#"):
@@ -20,6 +20,7 @@ def get_install_requires():
             requirements.append(stripped_line)
     return requirements
 
+
 setuptools.setup(
     name="volatility3",
     description="Memory forensics framework",
@@ -39,9 +40,8 @@ def get_install_requires():
     python_requires=">=3.7.0",
     include_package_data=True,
     exclude_package_data={"": ["development", "development.*"], "development": ["*"]},
-    packages=setuptools.find_namespace_packages(
-        include=["volatility3"]
-    ),
+    packages=setuptools.find_namespace_packages(where="volatility3"),
+    package_dir={"": "volatility3"},
     entry_points={
         "console_scripts": [
             "vol = volatility3.cli:main",
From 803c56e3c4c6495b2725b77cc7d045e39c98a9bd Mon Sep 17 00:00:00 2001
From: Mike Auty <mike.auty@gmail.com>
Date: Tue, 5 Sep 2023 23:51:17 +0100
Subject: [PATCH] Core: include the volatility3 package and all volatility3
 subpackages
Upstream: https://github.com/volatilityfoundation/volatility3/commit/803c56e3c4c6495b2725b77cc7d045e39c98a9bd

--- a/setup.py
+++ b/setup.py
@@ -37,11 +37,12 @@ def get_install_requires():
         "Documentation": "https://volatility3.readthedocs.io/",
         "Source Code": "https://github.com/volatilityfoundation/volatility3",
     },
+    packages=setuptools.find_namespace_packages(
+        include=["volatility3", "volatility3.*"]
+    ),
+    package_dir={"volatility3": "volatility3"},
     python_requires=">=3.7.0",
     include_package_data=True,
-    exclude_package_data={"": ["development", "development.*"], "development": ["*"]},
-    packages=setuptools.find_namespace_packages(where="volatility3"),
-    package_dir={"": "volatility3"},
     entry_points={
         "console_scripts": [
             "vol = volatility3.cli:main",