Skip to content

Commit b10c477

Browse files
author
Timothy MacDonald
committed
fix: add metadata to pyinstaller package for laceworksdk
Signed-off-by: Timothy MacDonald <[email protected]>
1 parent aaa95a1 commit b10c477

File tree

5 files changed

+14
-0
lines changed

5 files changed

+14
-0
lines changed

generate_csa_report_linux.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- mode: python ; coding: utf-8 -*-
2+
from PyInstaller.utils.hooks import copy_metadata
23
block_cipher = None
34
added_files = [
45
( 'templates/*', 'templates' ),
@@ -7,6 +8,7 @@ added_files = [
78
( 'modules/reports/*', 'modules/reports' ),
89
( 'VERSION', '.')
910
]
11+
added_files += copy_metadata("laceworksdk")
1012

1113
a = Analysis(
1214
['lw_report_gen.py'],

generate_csa_report_mac.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# -*- mode: python ; coding: utf-8 -*-
2+
from PyInstaller.utils.hooks import copy_metadata
3+
24
block_cipher = None
35
added_files = [
46
( 'templates/*', 'templates' ),
@@ -7,6 +9,7 @@ added_files = [
79
( 'modules/reports/*', 'modules/reports' ),
810
( 'VERSION', '.')
911
]
12+
added_files += copy_metadata("laceworksdk")
1013

1114
a = Analysis(
1215
['lw_report_gen.py'],

generate_csa_report_mac_arm.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# -*- mode: python ; coding: utf-8 -*-
2+
from PyInstaller.utils.hooks import copy_metadata
3+
24
block_cipher = None
35
added_files = [
46
( 'templates/*', 'templates' ),
@@ -7,6 +9,7 @@ added_files = [
79
( 'modules/reports/*', 'modules/reports' ),
810
( 'VERSION', '.')
911
]
12+
added_files += copy_metadata("laceworksdk")
1013

1114
a = Analysis(
1215
['lw_report_gen.py'],

generate_csa_report_mac_arm_onedir.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- mode: python ; coding: utf-8 -*-
2+
from PyInstaller.utils.hooks import copy_metadata
23

34

45
block_cipher = None
@@ -10,6 +11,7 @@ added_files = [
1011
( 'modules/reports/*', 'modules/reports' ),
1112
( 'VERSION', '.')
1213
]
14+
added_files += copy_metadata("laceworksdk")
1315

1416
a = Analysis(
1517
['lw_report_gen.py'],

generate_csa_report_win.spec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# -*- mode: python ; coding: utf-8 -*-
2+
from PyInstaller.utils.hooks import copy_metadata
3+
24
block_cipher = None
35
added_files = [
46
( 'templates/*', 'templates' ),
@@ -7,6 +9,8 @@ added_files = [
79
( 'modules/reports/*', 'modules/reports' ),
810
( 'VERSION', '.')
911
]
12+
added_files += copy_metadata("laceworksdk")
13+
1014
block_cipher = None
1115
a = Analysis(
1216
['lw_report_gen.py'],

0 commit comments

Comments
 (0)